fix build job syntax
This commit is contained in:
parent
2cb7709aed
commit
ecf712f506
|
@ -295,9 +295,9 @@ def buildComponents(args, maven_settings_file, maven_activation_property, maven_
|
||||||
parameters: [[$class: 'StringParameterValue', name: 'gcube_settings', value: "${maven_settings_file} ${maven_activation_property}"],
|
parameters: [[$class: 'StringParameterValue', name: 'gcube_settings', value: "${maven_settings_file} ${maven_activation_property}"],
|
||||||
[$class: 'StringParameterValue', name: 'local_repo', value: "${maven_local_repo_path}"],
|
[$class: 'StringParameterValue', name: 'local_repo', value: "${maven_local_repo_path}"],
|
||||||
[$class: 'LabelParameterValue', name: 'exec_label', label: "CD", nodeEligibility: [$class: 'AllNodeEligibility']],
|
[$class: 'LabelParameterValue', name: 'exec_label', label: "CD", nodeEligibility: [$class: 'AllNodeEligibility']],
|
||||||
[string(name: 'GIT_BRANCH_NAME', value: 'master')],
|
string(name: 'GIT_BRANCH_NAME', value: 'master'),
|
||||||
[string(name: 'GIT_BRANCH', value: 'master')],
|
string(name: 'GIT_BRANCH', value: 'master'),
|
||||||
[string(name: 'BRANCH_NAME', value: 'master')]
|
string(name: 'BRANCH_NAME', value: 'master')
|
||||||
])
|
])
|
||||||
sh "echo -e ${name},${gjob.getResult()} >> ${agent_root_folder}/build_jobs.${env.BUILD_NUMBER}.csv"
|
sh "echo -e ${name},${gjob.getResult()} >> ${agent_root_folder}/build_jobs.${env.BUILD_NUMBER}.csv"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue