Commit 2f749c0d authored by kmohiuddin's avatar kmohiuddin

modified file.yaml file path

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