diff --git a/Jenkinsfile.gerrit b/Jenkinsfile.gerrit index 86b04d380..8b50993a4 100644 --- a/Jenkinsfile.gerrit +++ b/Jenkinsfile.gerrit @@ -3,6 +3,7 @@ pipeline { dockerfile { filename 'Dockerfile.jenkins' args '-u root:root -v "/tmp/gomod":/go/pkg/mod' + label 'gerrit' } } options { diff --git a/Jenkinsfile.public b/Jenkinsfile.public index e1a90d66a..dd3dd145b 100644 --- a/Jenkinsfile.public +++ b/Jenkinsfile.public @@ -3,6 +3,7 @@ pipeline { dockerfile { filename 'Dockerfile.jenkins' args '-u root:root -v "/tmp/gomod":/go/pkg/mod' + label 'main' } } options {