summaryrefslogtreecommitdiff
path: root/jjb/yaml/verizoncloudplatform.com/image-foundry-if-pipeline.yaml
blob: 119fca47e01b3dd036dea1237fe8f3c03d21d885 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
- 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-vzw"
                      }
                  }
                  steps {
                      git(poll: false, branch: "master", url: "git@github.vcp.vzwnet.com:konstca/image-foundry-vzw.git")
                  }
              }
              stage("diskimage-builder") {
                  agent {
                      node {
                          label "glance_gateway"
                          customWorkspace "workspace/image-foundry"
                      }
                  }
                  steps {
                      git(poll: false, branch: "master", url: "git@github.vcp.vzwnet.com:konstca/image-foundry.git")
                      sh(script: "./image-foundry.sh")
                  }
              }
          }
      }