Advertisement
jtyr

Untitled

Jan 5th, 2017
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.92 KB | None | 0 0
  1. ---
  2.  
  3. - job-template:
  4.     name: Test1
  5.     properties:
  6.       - delivery-pipeline:
  7.           stage: Stage 1
  8.           task: Test 1
  9.     builders:
  10.       - shell: |
  11.          echo "Test 1"
  12.     publishers:
  13.       - pipeline:
  14.           project: >-
  15.             Test2
  16.  
  17. - job-template:
  18.     name: Test2
  19.     properties:
  20.       - delivery-pipeline:
  21.           stage: Stage 2
  22.           task: Test 2
  23.     builders:
  24.       - shell: |
  25.          echo "Test 1"
  26.     publishers:
  27.       - pipeline:
  28.           project: >-
  29.             Test3a,
  30.             Test3b
  31.  
  32. - job-template:
  33.     name: Test3{step}
  34.     block-upstream: true
  35.     properties:
  36.       - delivery-pipeline:
  37.           stage: Stage 3
  38.           task: Test 3{step}
  39.     builders:
  40.       - shell: |
  41.          echo "Test 3{step}"
  42.  
  43. - project:
  44.     name: Delivery Pipeline plugin test
  45.     step:
  46.      - a
  47.       - b
  48.     jobs:
  49.      - Test1
  50.       - Test2
  51.       - Test3{step}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement