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:
config_file_path: /home/kmohiuddin/.jenkins/workspace/performance_test@libs/performance_test/text.properties
filePaths:
- file1
- file2
- file3
- /home/kmohiuddin/.jenkins/workspace/performance_test@libs/performance_test/create.properties
- /home/kmohiuddin/.jenkins/workspace/performance_test@libs/performance_test/update.properties
- /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) {
config = readYaml file: filepath
config.pipeline.filePaths.each {
println it
}
perfProps = readProperties file: "${config.pipeline.config_file_path}"
List paramCode = []
config.pipeline.filePaths.each {
perfProps = readProperties file: it
paramCode.add(
[
......@@ -42,6 +39,8 @@ def call(String filepath) {
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