Skip to content

Commit

Permalink
Add docker.build call
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
rebpdx committed Aug 1, 2018
1 parent cf05d79 commit eb6b8d0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ node {
node {
checkout scm

image = docker.build("cmake-build:${env.BUILD_ID}")

stage("Build ${platform}") {
image.inside {
sh "cd firmware && \
Expand Down

0 comments on commit eb6b8d0

Please sign in to comment.