Merge "Implement puppet-openstack-integration-checkout JJB builder"

This commit is contained in:
Jenkins 2016-04-15 15:50:19 +00:00 committed by Gerrit Code Review
commit 1f317795df

@ -1,3 +1,21 @@
- builder:
name: puppet-openstack-integration-checkout
builders:
- shell: |
#!/bin/bash -xe
CLONEMAP=`mktemp`
function cleanup {
rm -f $CLONEMAP
}
trap cleanup EXIT
cat > $CLONEMAP << EOF
clonemap:
- name: openstack/puppet-openstack-integration
dest: .
EOF
/usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \
git://git.openstack.org openstack/puppet-openstack-integration
- job-template:
name: 'gate-{name}-puppet-unit-{puppet_version}-{node}'
node: '{node}'
@ -191,8 +209,8 @@
- print-template-name:
template-name: "{template-name}"
- link-logs
- zuul-clone:
project: openstack/puppet-openstack-integration
- puppet-openstack-integration-checkout
- install-distro-packages
- shell: |
#!/bin/bash -xe
cd openstack/puppet-openstack-integration
@ -216,8 +234,7 @@
- print-template-name:
template-name: "{template-name}"
- link-logs
- zuul-clone:
project: openstack/puppet-openstack-integration
- puppet-openstack-integration-checkout
- install-distro-packages
- puppet-prepare-node
- shell: |