@@ -19,8 +19,10 @@ pipeline {
1919 steps {
2020 dir(' src/github.com/docker/app' ) {
2121 checkout scm
22- sh ' make -f docker.Makefile lint'
23- sh ' make -f docker.Makefile check-vendor'
22+ ansiColor(' xterm' ) {
23+ sh ' make -f docker.Makefile lint'
24+ sh ' make -f docker.Makefile check-vendor'
25+ }
2426 }
2527 }
2628 post {
@@ -38,7 +40,9 @@ pipeline {
3840 script {
3941 try {
4042 checkout scm
41- sh ' make -f docker.Makefile cli-cross cross e2e-cross tars'
43+ ansiColor(' xterm' ) {
44+ sh ' make -f docker.Makefile cli-cross cross e2e-cross tars'
45+ }
4246 dir(' bin' ) {
4347 stash name : ' binaries'
4448 }
@@ -72,9 +76,11 @@ pipeline {
7276 steps {
7377 dir(' src/github.com/docker/app' ) {
7478 checkout scm
75- sh ' make -f docker.Makefile save-invocation-image'
76- sh ' make -f docker.Makefile INVOCATION_IMAGE_TAG=$BUILD_TAG-coverage OUTPUT=coverage-invocation-image.tar save-invocation-image-tag'
77- sh ' make -f docker.Makefile INVOCATION_IMAGE_TAG=$BUILD_TAG-coverage-experimental OUTPUT=coverage-experimental-invocation-image.tar save-invocation-image-tag'
79+ ansiColor(' xterm' ) {
80+ sh ' make -f docker.Makefile save-invocation-image'
81+ sh ' make -f docker.Makefile INVOCATION_IMAGE_TAG=$BUILD_TAG-coverage OUTPUT=coverage-invocation-image.tar save-invocation-image-tag'
82+ sh ' make -f docker.Makefile INVOCATION_IMAGE_TAG=$BUILD_TAG-coverage-experimental OUTPUT=coverage-experimental-invocation-image.tar save-invocation-image-tag'
83+ }
7884 dir(' _build' ) {
7985 stash name : ' invocation-image' , includes : ' invocation-image.tar'
8086 stash name : ' coverage-invocation-image' , includes : ' coverage-invocation-image.tar'
@@ -108,7 +114,9 @@ pipeline {
108114 unstash " coverage-invocation-image"
109115 sh ' docker load -i coverage-invocation-image.tar'
110116 }
111- sh ' make -f docker.Makefile BUILD_TAG=$BUILD_TAG-coverage coverage'
117+ ansiColor(' xterm' ) {
118+ sh ' make -f docker.Makefile BUILD_TAG=$BUILD_TAG-coverage coverage'
119+ }
112120 archiveArtifacts ' _build/ci-cov/all.out'
113121 archiveArtifacts ' _build/ci-cov/coverage.html'
114122 }
@@ -134,7 +142,9 @@ pipeline {
134142 unstash " coverage-experimental-invocation-image"
135143 sh ' docker load -i coverage-experimental-invocation-image.tar'
136144 }
137- sh ' make EXPERIMENTAL=on -f docker.Makefile BUILD_TAG=$BUILD_TAG-coverage-experimental coverage'
145+ ansiColor(' xterm' ) {
146+ sh ' make EXPERIMENTAL=on -f docker.Makefile BUILD_TAG=$BUILD_TAG-coverage-experimental coverage'
147+ }
138148 }
139149 }
140150 post {
@@ -154,7 +164,9 @@ pipeline {
154164 dir(" bin" ) {
155165 unstash " binaries"
156166 }
157- sh ' make -f docker.Makefile gradle-test'
167+ ansiColor(' xterm' ) {
168+ sh ' make -f docker.Makefile gradle-test'
169+ }
158170 }
159171 }
160172 post {
@@ -185,7 +197,9 @@ pipeline {
185197 dir(' e2e' ){
186198 unstash " e2e"
187199 }
188- sh ' ./gotestsum-linux --format short-verbose --junitfile e2e-linux.xml --raw-command -- ./test2json-linux -t -p docker-app/e2e-linux ./docker-app-e2e-linux -test.v --e2e-path=e2e'
200+ ansiColor(' xterm' ) {
201+ sh ' ./gotestsum-linux --format short-verbose --junitfile e2e-linux.xml --raw-command -- ./test2json-linux -t -p docker-app/e2e-linux ./docker-app-e2e-linux -test.v --e2e-path=e2e'
202+ }
189203 }
190204 }
191205 post {
0 commit comments