Fix build executor collision issues in Jenkins 41/1541/1
authorWesley Hirsch <wesley.hirsch@riftio.com>
Mon, 10 Apr 2017 17:18:59 +0000 (13:18 -0400)
committerWesley Hirsch <wesley.hirsch@riftio.com>
Mon, 10 Apr 2017 17:32:56 +0000 (13:32 -0400)
Explicitly require that the declarative pipeline master run on a node with the
label pipeline so that the build itself can consume standard resources.

Change-Id: I16b46329fa4430336b884dff4d732d889ab65c73
Signed-off-by: Wesley Hirsch <wesley.hirsch@riftio.com>
Jenkinsfile

index 0c556a4..f6f9a71 100644 (file)
@@ -1,5 +1,7 @@
 pipeline {
-       agent any
+       agent {
+               label "pipeline"
+       }
        stages {
                stage("Build") {
                        agent {
@@ -11,6 +13,7 @@ pipeline {
                        }
                }
                stage("Repo Component") {
+                       agent any
                        steps {
                                unstash "deb-files"
                                sh '''