Bind Jenkins Builds to specific nodes (#2253)

This commit is contained in:
Stefan Benten 2019-06-19 21:56:52 +02:00 committed by GitHub
parent 35e71e5f95
commit 6ba110c90a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,7 @@ pipeline {
dockerfile { dockerfile {
filename 'Dockerfile.jenkins' filename 'Dockerfile.jenkins'
args '-u root:root -v "/tmp/gomod":/go/pkg/mod' args '-u root:root -v "/tmp/gomod":/go/pkg/mod'
label 'gerrit'
} }
} }
options { options {

View File

@ -3,6 +3,7 @@ pipeline {
dockerfile { dockerfile {
filename 'Dockerfile.jenkins' filename 'Dockerfile.jenkins'
args '-u root:root -v "/tmp/gomod":/go/pkg/mod' args '-u root:root -v "/tmp/gomod":/go/pkg/mod'
label 'main'
} }
} }
options { options {