--- - job: name: image-foundry-if-pipeline project-type: pipeline dsl: | pipeline { agent { node { label "master" } } stages { stage("checkout-elements") { agent { node { label "glance_gateway" customWorkspace "workspace/image-foundry-pippiandcarlos" } } steps { git(poll: false, branch: "master", url: "git@pippiandcarlos.com:repos/image-foundry-pippiandcarlos.git") } } stage("diskimage-builder") { agent { node { label "glance_gateway" customWorkspace "workspace/image-foundry" } } steps { git(poll: false, branch: "master", url: "git@pippiandcarlos.com:repos/image-foundry.git") sh(script: "./image-foundry.sh") } } } }