fix some comments

This commit is contained in:
Roberto Cirillo 2023-06-15 11:35:11 +02:00
parent b0e4dd25be
commit b86ed090b9
1 changed files with 4 additions and 4 deletions

8
Jenkinsfile vendored
View File

@ -162,7 +162,7 @@ pipeline {
}
steps {
sh '''
echo '\033[31;1;4mNew pending deploy added to the queue/033[0m'
echo '\033[31;1;4mNew pending deploy/033[0m'
echo "Cron build enabled. Adding ${TRIGGER_JOB} - ${TRIGGER_VERSION} to the queue"
touch $DEPLOY_FILE;
if grep -q \"\${TRIGGER_JOB}\" \${DEPLOY_FILE}; then
@ -212,10 +212,10 @@ pipeline {
anyOf{
triggeredBy 'BuildUpstreamCause'
triggeredBy 'UpstreamCause'
//added just for testing . To Remove.
// added just for testing . To Remove.
triggeredBy cause: "UserIdCause", detail: "${RELEASE_MANAGER_USER}"
}
// we should improve this conditional check
// we should improve this conditional check
equals(actual: "${params.TRIGGER_JOB}", expected: "${RELEASE_JOB}")
}
steps {
@ -223,7 +223,7 @@ pipeline {
if("${DEPLOY_CATEGORY}"){
echo '\033[31;1;4mGoing to deploy gCube Release \033[0m'
deployRelease("${DEPLOY_CATEGORY}", yamlConfig);
}else { println ("CATEGORIES NOT FOUND ON YAML FILE. SKIP TO NEXT STAGE");}
}else println ("CATEGORIES NOT FOUND. ENVIRONMENT NOT SET FOR RELEASE DEPLOYMENT. NOTHING TO DO");
}
}
}