db20f1f27a
This reverts commit dea3bdb050a55d56a1913e50e59cf176d70d3eb7. This revert is necessary because it changed jenkins jobs before the slave images could be rebuilt. We need to update the slave images first then update the jenkins jobs in a pair of changes that can be merged one at a time. Change-Id: Iae4abf8c2dd8ad67ad008c57bbd17ba1304134c6
60 lines
1.9 KiB
YAML
60 lines
1.9 KiB
YAML
- job:
|
|
name: gate-openstackid-unittests
|
|
node: 'bare-precise'
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
/usr/local/jenkins/slave_scripts/php-laravel-build.sh
|
|
publishers:
|
|
- console-log
|
|
- coverage-log
|
|
- scp:
|
|
site: 'static.openstack.org'
|
|
files:
|
|
- target: 'logs/$LOG_PATH'
|
|
source: './reports/**'
|
|
keep-hierarchy: true
|
|
copy-after-failure: true
|
|
|
|
- job-template:
|
|
name: 'openstackid-release-{branch-designator}'
|
|
node: '{node}'
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
/usr/local/jenkins/slave_scripts/maven-properties.sh
|
|
- inject:
|
|
properties-file: maven.properties
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
/usr/local/jenkins/slave_scripts/php-laravel-build.sh
|
|
# Clone to dist
|
|
rm -rf dist
|
|
mkdir dist
|
|
rsync -arv --exclude ".git*" --exclude tarballs --exclude dist . dist
|
|
# Clean/create a tarball directory
|
|
rm -rf tarballs
|
|
mkdir -p tarballs
|
|
# Create an archive tarball.
|
|
tar -czf openstackid-$PROJECT_VER.tar.gz dist/
|
|
cp openstackid-$PROJECT_VER.tar.gz tarballs/openstackid-latest.tar.gz
|
|
mv openstackid-$PROJECT_VER.tar.gz tarballs/
|
|
publishers:
|
|
- console-log
|
|
- coverage-log
|
|
- scp:
|
|
site: 'static.openstack.org'
|
|
files:
|
|
- target: 'logs/$LOG_PATH'
|
|
source: './reports/**'
|
|
keep-hierarchy: true
|
|
copy-after-failure: true
|
|
- target: 'tarballs/openstackid/'
|
|
source: 'tarballs/*.tar.gz'
|
|
keep-hierarchy: false
|
|
copy-after-failure: false
|