summaryrefslogtreecommitdiff
path: root/jjb/yaml/verizoncloudplatform.com/glance-gateway-if-pipeline.yaml
blob: 98ca417fb373455ab6972f1f15ff77d371c9fd78 (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: glance-gateway-gg-pipeline
    project-type: pipeline
    dsl: |
      pipeline {
          agent {
              node {
                  label "master"
              }
          }
          stages {
              stage("checkout-manifests") {
                  agent {
                      node {
                          label "glance_gateway"
                          customWorkspace "workspace/glance-gateway"
                      }
                  }
                  steps {
                      git(poll: false, branch: "master", url: "git@github.vcp.vzwnet.com:konstca/glance-gateway.git")
                  }
              }
              stage("update-images") {
                  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: "./glance-gateway.sh")
                  }
              }
          }
      }