From 25417ca9378d24cf4a956dada0d0f10e180e642a Mon Sep 17 00:00:00 2001 From: Christopher Hubing Date: Wed, 18 Apr 2018 15:05:10 -0400 Subject: [PATCH] add --no-cache to docker build arguments --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index e9095c52..9715dedd 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -33,7 +33,7 @@ pipeline { steps { script { docker.withRegistry('https://registry.hub.docker.com/', "dockerhub-$maintainer") { - def baseImg = docker.build("$maintainer/$imagename") + def baseImg = docker.build("$maintainer/$imagename", "--no-cache .") baseImg.push("$tag") } } @@ -72,6 +72,6 @@ def handleError(String message){ echo "${message}" currentBuild.setResult("FAILED") slackSend color: 'danger', message: "${message}" - //step([$class: 'Mailer', notifyEveryUnstableBuild: true, recipients: 'chris.bynum@levvel.io', sendToIndividuals: true]) + //step([$class: 'Mailer', notifyEveryUnstableBuild: true, recipients: 'chubing@internet2.edu', sendToIndividuals: true]) sh 'exit 1' }