This commit is contained in:
Roberto Cirillo 2023-04-26 15:29:59 +02:00
parent 3f2fb836c0
commit 5f9f635a61
1 changed files with 4 additions and 4 deletions

8
Jenkinsfile vendored
View File

@ -144,7 +144,7 @@ pipeline {
}
}
steps {
echo -e "\033[31;1;4mGoing to sleep\033[0m"
echo '\033[31;1;4mGoing to sleep\033[0m'
sh ' exit 0; '
}
}
@ -160,7 +160,7 @@ pipeline {
}
steps {
sh '''
echo -e "Cron build enabled. \033[31;1;4mNew deploy of ${TRIGGER_JOB} - ${TRIGGER_VERSION} will be added to the pending deploy file\033[0m"
echo 'Cron build enabled. \033[31;1;4mNew deploy of ${TRIGGER_JOB} - ${TRIGGER_VERSION} will be added to the pending deploy file\033[0m'
touch $DEPLOY_FILE;
if grep -q \"\${TRIGGER_JOB}\" \${DEPLOY_FILE}; then
echo "component ${TRIGGER_JOB} already added. Nothing to add."
@ -191,7 +191,7 @@ pipeline {
}
steps {
script{
echo -e "Cron build disabled. \033[31;1;4mNew deploy of ${params.TRIGGER_JOB} - ${params.TRIGGER_VERSION} ongoing\033[0m"
echo 'Cron build disabled. \033[31;1;4mNew deploy of ${params.TRIGGER_JOB} - ${params.TRIGGER_VERSION} ongoing\033[0m'
ansiColor('xterm') {
catchError(buildResult: 'UNSTABLE', stageResult: 'FAILURE') {
checkup("${params.TRIGGER_JOB}", "${params.TRIGGER_VERSION}", "${params.TRIGGER_HOST}");
@ -232,7 +232,7 @@ pipeline {
expression { params.TRIGGER_JOB != "${RELEASE_JOB}" }
}
steps {
echo -e "Cron build disabled. Pipeline executed Manually. \033[31;1;4mNew deploy of ${params.TRIGGER_JOB} - ${params.TRIGGER_VERSION} ongoing\033[0m"
echo 'Cron build disabled. Pipeline executed Manually. \033[31;1;4mNew deploy of ${params.TRIGGER_JOB} - ${params.TRIGGER_VERSION} ongoing\033[0m'
ansiColor('xterm') {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
deploy("${params.TRIGGER_JOB}", "${params.TRIGGER_VERSION}", "${params.TRIGGER_HOST}");