generated from gCubeCI/Pipeline-Docker-Template
set to UNSTABLE when a job is added to pending list
This commit is contained in:
parent
ec4bbb7856
commit
56fb8bd136
|
@ -120,6 +120,11 @@ pipeline {
|
|||
echo "${TRIGGER_JOB},${TRIGGER_VERSION},${TRIGGER_HOST}" >> ${DEPLOY_FILE}
|
||||
fi
|
||||
'''
|
||||
catchError(buildResult: 'UNSTABLE', stageResult: 'UNSTABLE') {
|
||||
sh("""
|
||||
exit 126;
|
||||
""")
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Deploy from job ') {
|
||||
|
|
Loading…
Reference in New Issue