From: beierlm Date: Thu, 25 Jun 2020 23:51:39 +0000 (-0400) Subject: Increase build speed X-Git-Tag: release-v9.0-start~109 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=c61b88daa74127abafdf384aba2dd245f05cb19e;p=osm%2Fdevops.git Increase build speed Build the docker images in parallel so that the stage 3 takes less time. Fixing typo. Change-Id: I4f30999ddc1ccc8248f9d1ad6f24faec92fe5d51 Signed-off-by: beierlm --- diff --git a/jenkins/ci-pipelines/ci_stage_3.groovy b/jenkins/ci-pipelines/ci_stage_3.groovy index 1e9748be..58f965fb 100644 --- a/jenkins/ci-pipelines/ci_stage_3.groovy +++ b/jenkins/ci-pipelines/ci_stage_3.groovy @@ -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}" } }