syntax problem fixed

This commit is contained in:
Roberto Cirillo 2020-01-13 15:36:22 +01:00
parent 2fb8abfaa2
commit 42516749ec
1 changed files with 2 additions and 1 deletions

3
Jenkinsfile vendored
View File

@ -98,6 +98,7 @@ pipeline {
PIPELINE_BUILD_NUMBER = "${env.BUILD_NUMBER}"
TYPE = "${params.Type}"
RESUME = "${params.resume}"
RESUME_FROM = "${params.resume_from}"
JOB_REPORT = "${agent_root_folder}/build_jobs.${env.BUILD_NUMBER}.csv"
PREVIOUS_JOB_REPORT = "${previous_report_file}"
PREVIOUS_COMMIT_REPORT = "${previous_commit_file}"
@ -165,7 +166,7 @@ pipeline {
stage('initialize local repository') {
steps {
sh '''
if [ "$RESUME" = "false" ]; then
if [ -z "$RESUME_FROM" ]; then
echo "REMOVE_LOCAL_REPO: ${REMOVE_LOCAL_REPO}"
echo "CLEANUP_GCUBE_REPO: ${CLEANUP_GCUBE_REPO}"
if [ "$CLEANUP_GCUBE_REPO" = "true" ]; then