clean build prior to building docker images 15/6515/1
authorMike Marchetti <mmarchetti@sandvine.com>
Wed, 19 Sep 2018 21:17:47 +0000 (17:17 -0400)
committerMike Marchetti <mmarchetti@sandvine.com>
Wed, 19 Sep 2018 21:17:47 +0000 (17:17 -0400)
Change-Id: Icadc128234d9d28693404a7044f0f11722e1e140
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
jenkins/ci-pipelines/ci_stage_3.groovy

index 1b4dc13..8f478e0 100644 (file)
@@ -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}"
         }
     }