From 1b4d90ac7c5c44a737d5d42c21aef337124f4419 Mon Sep 17 00:00:00 2001 From: John Gasper Date: Wed, 10 Oct 2018 13:38:53 -0700 Subject: [PATCH] Adding place for 301 to get built. --- Jenkinsfile | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 5f6f6a4..c978156 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -16,7 +16,7 @@ exceriseSets = [ // 'ex101' : [3, 2], 'ex201' : [1, 1, 1, 1, 1], -// 'ex301' : [2, 2, 5, 6], +// 'ex301' : [2, 2, 5, 6], manually built with a single image 'ex401' : [6, 9, 7, 1] ] @@ -77,7 +77,7 @@ pipeline { } } } - stage('Build Others') { + stage('Build exceriseSets') { steps { script { docker.withRegistry('https://registry.hub.docker.com/', "dockerhub-${maintainer}") { @@ -95,6 +95,16 @@ pipeline { } } } + stage('Build Oddballs') { + steps { + script { + docker.withRegistry('https://registry.hub.docker.com/', "dockerhub-${maintainer}") { + def baseImg = docker.build("${maintainer}/${imagename}:ex301.4.1", "--no-cache --pull ex301/ex301.4.1") + baseImg.push("ex301.4.1") + } + } + } + } stage('Notify') { steps{ echo "$maintainer"