From b215152e814ebf725655ac9f00dbe203cd3e7576 Mon Sep 17 00:00:00 2001 From: Mike Marchetti Date: Wed, 19 Sep 2018 17:17:47 -0400 Subject: [PATCH] clean build prior to building docker images Change-Id: Icadc128234d9d28693404a7044f0f11722e1e140 Signed-off-by: Mike Marchetti --- jenkins/ci-pipelines/ci_stage_3.groovy | 1 + 1 file changed, 1 insertion(+) 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}" } } -- 2.25.1