From 493b5e1e9e75ba4d117460693d24dfebc9c25f65 Mon Sep 17 00:00:00 2001 From: Alastair Smith Date: Tue, 2 Apr 2019 11:43:18 -0500 Subject: [PATCH] update Jenkinsfile --- Jenkinsfile | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index a865f73846..d8c770fc0d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -17,12 +17,11 @@ pipeline { expression { env.GIT_URL == 'https://github.com/docker/docs-private.git' } } stages { - stage( 'build and push new beta-stage image' ) { + stage( 'build and push new beta stage image' ) { when { branch 'amberjack' } steps { - sh 'echo "Build and push new beta-stage image here"' withDockerRegistry(reg) { sh """ docker image build --tag docs/docs-private:beta-stage-${env.BUILD_NUMBER} . && \ @@ -36,7 +35,6 @@ pipeline { branch 'published' } steps { - sh 'echo "Build and push new beta image here"' withDockerRegistry(reg) { sh """ docker image build --tag docs/docs-private:beta-${env.BUILD_NUMBER} . && \ @@ -45,12 +43,11 @@ pipeline { } } } - stage( 'update beta-stage service' ) { + stage( 'update beta stage service' ) { when { branch 'amberjack' } steps { - sh 'echo "Update beta-stage service here"' withVpn(dtrVpnAddress) { withCredentials(ucpBundle) { sh 'unzip -o $UCP' @@ -72,7 +69,6 @@ pipeline { branch 'published' } steps { - sh 'echo "Update beta service here"' withVpn(dtrVpnAddress) { withCredentials(ucpBundle) { sh 'unzip -o $UCP' @@ -92,4 +88,4 @@ pipeline { } } } -} +} \ No newline at end of file