From eb6b8d0642609abcd3b6812891e7678c4e581bde Mon Sep 17 00:00:00 2001 From: Robert Brown Date: Wed, 1 Aug 2018 10:04:57 -0700 Subject: [PATCH] Add docker.build call Prior to this commit the parallel builds did not have a docker.build command causing multiple workers to be missing a docker container to work in. This commit fixes that by adding the build command to ensure that each worker node has a container to use. --- Jenkinsfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 3fe6c198..f06d9479 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -19,6 +19,8 @@ node { node { checkout scm + image = docker.build("cmake-build:${env.BUILD_ID}") + stage("Build ${platform}") { image.inside { sh "cd firmware && \