Merge "Use job-template for gate-trove-buildimage jobs"

This commit is contained in:
Jenkins 2014-06-18 19:37:39 +00:00 committed by Gerrit Code Review
commit 1c2aa3886b
2 changed files with 10 additions and 6 deletions

View File

@ -1156,6 +1156,10 @@
datastore: 'mysql' datastore: 'mysql'
- 'gate-trove-functional-dsvm-{datastore}': - 'gate-trove-functional-dsvm-{datastore}':
datastore: 'mongodb' datastore: 'mongodb'
- 'gate-trove-buildimage-{datastore}':
datastore: 'mysql'
- 'gate-trove-buildimage-{datastore}':
datastore: 'mongodb'
- '{name}-tox-doc-{envlist}': - '{name}-tox-doc-{envlist}':
envlist: publishdocs envlist: publishdocs

View File

@ -1,5 +1,5 @@
- job: - job-template:
name: 'gate-trove-buildimage-mysql' name: 'gate-trove-buildimage-{datastore}'
node: 'bare-precise' node: 'bare-precise'
builders: builders:
@ -13,15 +13,15 @@
export DEST=/opt/trove-image-build export DEST=/opt/trove-image-build
export KEY_DIR=`pwd`/scripts/files/keys export KEY_DIR=`pwd`/scripts/files/keys
cd scripts cd scripts
./redstack build-image mysql ./redstack build-image {datastore}
mv $HOME/images/ubuntu_mysql/ubuntu_mysql.qcow2 $WORKSPACE/ubuntu_mysql.qcow2 mv $HOME/images/ubuntu_{datastore}/ubuntu_{datastore}.qcow2 $WORKSPACE/{datastore}.qcow2
publishers: publishers:
- scp: - scp:
site: 'tarballs.openstack.org' site: 'tarballs.openstack.org'
files: files:
- source: 'ubuntu_mysql.qcow2' - source: '{datastore}.qcow2'
target: 'tarballs/trove/images/ubuntu_mysql.qcow2' target: 'tarballs/trove/images/ubuntu'
keep-hierarchy: false keep-hierarchy: false
copy-after-failure: false copy-after-failure: false
- console-log - console-log