generated from gCubeCI/Pipeline-Docker-Template
add some comments
This commit is contained in:
parent
2606032208
commit
3f2fb836c0
|
@ -144,7 +144,7 @@ pipeline {
|
|||
}
|
||||
}
|
||||
steps {
|
||||
echo 'Going to sleep'
|
||||
echo -e "\033[31;1;4mGoing to sleep\033[0m"
|
||||
sh ' exit 0; '
|
||||
}
|
||||
}
|
||||
|
@ -160,7 +160,7 @@ pipeline {
|
|||
}
|
||||
steps {
|
||||
sh '''
|
||||
echo "Cron build enabled. New deploy of ${TRIGGER_JOB} - ${TRIGGER_VERSION} will be added to the pending deploy file"
|
||||
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"
|
||||
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 "Cron build disabled. New deploy of ${params.TRIGGER_JOB} - ${params.TRIGGER_VERSION} ongoing"
|
||||
echo -e "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 "Cron build disabled. Pipeline executed Manually. New deploy of ${params.TRIGGER_JOB} - ${params.TRIGGER_VERSION} ongoing"
|
||||
echo -e "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}");
|
||||
|
|
Loading…
Reference in New Issue