Commit 9f634d44 authored by kmohiuddin's avatar kmohiuddin

modified file.yaml file path

parent 7a13b6c7
hello=world
my_name=ibrahim
\ No newline at end of file
hello=world
my_name=ibrahim
\ No newline at end of file
pipeline: pipeline:
config_file_path: /home/kmohiuddin/.jenkins/workspace/performance_test@libs/performance_test/text.properties config_file_path: /home/kmohiuddin/.jenkins/workspace/performance_test@libs/performance_test/text.properties
filePaths: filePaths:
- file1 - /home/kmohiuddin/.jenkins/workspace/performance_test@libs/performance_test/create.properties
- file2 - /home/kmohiuddin/.jenkins/workspace/performance_test@libs/performance_test/update.properties
- file3 - /home/kmohiuddin/.jenkins/workspace/performance_test@libs/performance_test/delete.properties
hello=world
my_name=ibrahim
\ No newline at end of file
...@@ -16,13 +16,10 @@ def call(String filepath) { ...@@ -16,13 +16,10 @@ def call(String filepath) {
config = readYaml file: filepath config = readYaml file: filepath
config.pipeline.filePaths.each {
println it
}
perfProps = readProperties file: "${config.pipeline.config_file_path}"
List paramCode = [] List paramCode = []
config.pipeline.filePaths.each {
perfProps = readProperties file: it
paramCode.add( paramCode.add(
[ [
...@@ -42,6 +39,8 @@ def call(String filepath) { ...@@ -42,6 +39,8 @@ def call(String filepath) {
parameters(paramCode) parameters(paramCode)
]) ])
}
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment