Commit 2f749c0d authored by kmohiuddin's avatar kmohiuddin

modified file.yaml file path

parent a8e5d9c0
pipeline:
config_file_path: /home/kmohiuddin/.jenkins/workspace/performance_test@libs/performance_test/text.properties
filePaths:
file1,
file2,
file3
def call(String filepath) {
node {
String sectionHeaderStyle = '''
color: white;
background: green;
font-family: Roboto, sans-serif !important;
padding: 5px;
text-align: center;
'''
String separatorStyle = '''
border: 0;
border-bottom: 1px dashed #ccc;
background: #999;
'''
config = readYaml file: filepath
config.pipeline.filePaths.each {
println it
}
perfProps = readProperties file: "${config.pipeline.config_file_path}"
List paramCode = []
String sectionHeaderStyle = '''
color: white;
background: green;
font-family: Roboto, sans-serif !important;
padding: 5px;
text-align: center;
'''
String separatorStyle = '''
border: 0;
border-bottom: 1px dashed #ccc;
background: #999;
'''
paramCode.add(
[
$class: 'ParameterSeparatorDefinition',
......
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