andersonvom

JJB - Template - openstack

Sep 4th, 2015
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.71 KB | None | 0 0
  1. - builder:
  2.     name: shell-script
  3.     builders:
  4.       - shell: |
  5.           echo some shell stuff goes in here: {stuff}
  6. - builder:
  7.     name: ansible
  8.     builders:
  9.       - shell: |
  10.           echo some ansible stuff goes in here: {stuff}
  11. - job-template:
  12.     name: my_{site}_{config}
  13.     description: JJB template for doing installs.
  14.     project-type: freestyle
  15.     builders:
  16.        - '{builder}'
  17. - project:
  18.     name: foo
  19.     jobs:
  20.       - 'my_{site}_{config}':
  21.           site: foo
  22.           config: foo-config
  23.           builder: shell-script
  24.           stuff: bashhhh
  25.       - 'my_{site}_{config}':
  26.           site: bar
  27.           config: bar-config
  28.           builder: ansible
  29.           stuff: ansibelll
Advertisement
Add Comment
Please, Sign In to add comment