From: Mike Marchetti Date: Wed, 19 Sep 2018 21:17:47 +0000 (-0400) Subject: clean build prior to building docker images X-Git-Tag: v5.0.0~119 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=b215152e814ebf725655ac9f00dbe203cd3e7576;p=osm%2Fdevops.git clean build prior to building docker images Change-Id: Icadc128234d9d28693404a7044f0f11722e1e140 Signed-off-by: Mike Marchetti --- diff --git a/jenkins/ci-pipelines/ci_stage_3.groovy b/jenkins/ci-pipelines/ci_stage_3.groovy index 1b4dc13e..8f478e0f 100644 --- a/jenkins/ci-pipelines/ci_stage_3.groovy +++ b/jenkins/ci-pipelines/ci_stage_3.groovy @@ -156,6 +156,7 @@ node("${params.NODE}") { error = null if ( params.DO_BUILD ) { stage("Build") { + sh "make clean" sh "make -j4 -C docker CMD_DOCKER_ARGS= TAG=${container_name} RELEASE=${params.RELEASE} REPOSITORY_BASE=${repo_base_url} REPOSITORY_KEY=${params.REPO_KEY_NAME} REPOSITORY=${params.REPO_DISTRO}" } }