colourise the output of task builder jenkinsfile
This commit is contained in:
2
dockerfiles/tasks/Jenkinsfile
vendored
2
dockerfiles/tasks/Jenkinsfile
vendored
@@ -20,10 +20,12 @@ pipeline {
|
|||||||
withDockerRegistry(credentialsId: 'b11d7f1a-81ac-4daf-8842-56afc0d2370e', url: 'http://dkregistry.xai-corp.net:5000') {
|
withDockerRegistry(credentialsId: 'b11d7f1a-81ac-4daf-8842-56afc0d2370e', url: 'http://dkregistry.xai-corp.net:5000') {
|
||||||
|
|
||||||
dir("dockerfiles/tasks/$params.IMAGE") {
|
dir("dockerfiles/tasks/$params.IMAGE") {
|
||||||
|
ansiColor('xterm') {
|
||||||
sh 'chmod +x build.sh && ls -l'
|
sh 'chmod +x build.sh && ls -l'
|
||||||
|
|
||||||
sh './build.sh'
|
sh './build.sh'
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user