Increase build speed 91/9191/1
authorbeierlm <mark.beierl@canonical.com>
Thu, 25 Jun 2020 23:51:39 +0000 (19:51 -0400)
committerbeierlm <mark.beierl@canonical.com>
Thu, 25 Jun 2020 23:51:39 +0000 (19:51 -0400)
Build the docker images in parallel so that the stage 3 takes less
time.
Fixing typo.

Change-Id: I4f30999ddc1ccc8248f9d1ad6f24faec92fe5d51
Signed-off-by: beierlm <mark.beierl@canonical.com>
jenkins/ci-pipelines/ci_stage_3.groovy

index 1e9748b..58f965f 100644 (file)
@@ -225,7 +225,7 @@ node("${params.NODE}") {
         if ( params.DO_BUILD ) {
             stage("Build") {
                 sh "make -C docker clean"
-                sh "make -C -j `nproc` docker Q= CMD_DOCKER_ARGS= TAG=${container_name} RELEASE=${params.RELEASE} REPOSITORY_BASE=${repo_base_url} REPOSITORY_KEY=${params.REPO_KEY_NAME} REPOSITORY=${params.REPO_DISTRO}"
+                sh "make -C docker -j `nproc` Q= CMD_DOCKER_ARGS= TAG=${container_name} RELEASE=${params.RELEASE} REPOSITORY_BASE=${repo_base_url} REPOSITORY_KEY=${params.REPO_KEY_NAME} REPOSITORY=${params.REPO_DISTRO}"
             }
         }