Fix build executor collision issues in Jenkins
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>
diff --git a/Jenkinsfile b/Jenkinsfile
index 0c556a4..f6f9a71 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -1,5 +1,7 @@
pipeline {
- agent any
+ agent {
+ label "pipeline"
+ }
stages {
stage("Build") {
agent {
@@ -11,6 +13,7 @@
}
}
stage("Repo Component") {
+ agent any
steps {
unstash "deb-files"
sh '''