2013-12-05 20:55:42 +00:00
|
|
|
- job:
|
|
|
|
name: check-gerrit-buck
|
2014-06-19 12:46:08 -07:00
|
|
|
node: 'bare-precise || bare-trusty'
|
2013-12-05 20:55:42 +00:00
|
|
|
|
|
|
|
wrappers:
|
2014-05-27 14:51:16 -07:00
|
|
|
- build-timeout:
|
2013-12-05 20:55:42 +00:00
|
|
|
timeout: 40
|
|
|
|
- timestamps
|
|
|
|
|
|
|
|
builders:
|
2014-03-21 12:00:06 -07:00
|
|
|
- revoke-sudo
|
2014-06-24 11:57:44 +10:00
|
|
|
- install-buck
|
2013-12-05 20:55:42 +00:00
|
|
|
- shell: |
|
|
|
|
#!/bin/bash -xe
|
2014-06-24 11:57:44 +10:00
|
|
|
export PATH=`pwd`/buck/bin:$PATH
|
2014-02-20 14:07:11 -08:00
|
|
|
mkdir -p gerrit
|
2013-12-05 20:55:42 +00:00
|
|
|
cd gerrit
|
2014-03-18 15:18:40 +00:00
|
|
|
/usr/local/jenkins/slave_scripts/gerrit-git-prep.sh https://review.openstack.org git://git.openstack.org
|
2014-02-27 15:16:50 -08:00
|
|
|
/usr/local/jenkins/slave_scripts/version-properties.sh
|
2014-06-30 21:35:52 -07:00
|
|
|
source version.properties
|
2013-12-05 20:55:42 +00:00
|
|
|
buck clean
|
2015-04-08 16:21:53 -07:00
|
|
|
buck test --all --exclude slow
|
2013-12-05 20:55:42 +00:00
|
|
|
buck build release
|
2014-06-24 11:57:44 +10:00
|
|
|
cp buck-out/gen/release.war buck-out/gen/gerrit-$PROJECT_VER.war
|
2013-12-05 20:55:42 +00:00
|
|
|
|
|
|
|
publishers:
|
|
|
|
- war:
|
|
|
|
site: 'tarballs.openstack.org'
|
2014-06-24 11:57:44 +10:00
|
|
|
warfile: 'gerrit/buck-out/gen/gerrit-*.war'
|
2013-12-05 20:55:42 +00:00
|
|
|
target: 'tarballs/ci/test'
|
|
|
|
- console-log
|
|
|
|
|
|
|
|
- job:
|
|
|
|
name: gate-gerrit-buck
|
2014-06-19 12:46:08 -07:00
|
|
|
node: 'bare-precise || bare-trusty'
|
2013-12-05 20:55:42 +00:00
|
|
|
|
|
|
|
wrappers:
|
2014-05-27 14:51:16 -07:00
|
|
|
- build-timeout:
|
2013-12-05 20:55:42 +00:00
|
|
|
timeout: 40
|
|
|
|
- timestamps
|
|
|
|
|
|
|
|
builders:
|
2014-03-21 12:00:06 -07:00
|
|
|
- revoke-sudo
|
2014-06-24 11:57:44 +10:00
|
|
|
- install-buck
|
2013-12-05 20:55:42 +00:00
|
|
|
- shell: |
|
|
|
|
#!/bin/bash -xe
|
2014-06-24 11:57:44 +10:00
|
|
|
export PATH=`pwd`/buck/bin:$PATH
|
2014-02-20 14:07:11 -08:00
|
|
|
mkdir -p gerrit
|
2013-12-05 20:55:42 +00:00
|
|
|
cd gerrit
|
2014-03-18 15:18:40 +00:00
|
|
|
/usr/local/jenkins/slave_scripts/gerrit-git-prep.sh https://review.openstack.org git://git.openstack.org
|
2014-02-27 15:16:50 -08:00
|
|
|
/usr/local/jenkins/slave_scripts/version-properties.sh
|
2014-06-30 21:35:52 -07:00
|
|
|
source version.properties
|
2013-12-05 20:55:42 +00:00
|
|
|
buck clean
|
2015-04-08 16:21:53 -07:00
|
|
|
buck test --all --exclude slow
|
2013-12-05 20:55:42 +00:00
|
|
|
buck build release
|
2014-06-24 11:57:44 +10:00
|
|
|
cp buck-out/gen/release.war buck-out/gen/gerrit-$PROJECT_VER.war
|
2013-12-05 20:55:42 +00:00
|
|
|
|
|
|
|
publishers:
|
|
|
|
- console-log
|
|
|
|
|
|
|
|
- job:
|
|
|
|
name: gerrit-package-buck
|
2014-06-19 12:46:08 -07:00
|
|
|
node: 'bare-precise || bare-trusty'
|
2013-12-05 20:55:42 +00:00
|
|
|
|
|
|
|
wrappers:
|
2014-05-27 14:51:16 -07:00
|
|
|
- build-timeout:
|
2013-12-05 20:55:42 +00:00
|
|
|
timeout: 40
|
|
|
|
- timestamps
|
|
|
|
|
|
|
|
builders:
|
2014-03-21 12:00:06 -07:00
|
|
|
- revoke-sudo
|
2014-06-24 11:57:44 +10:00
|
|
|
- install-buck
|
2013-12-05 20:55:42 +00:00
|
|
|
- shell: |
|
|
|
|
#!/bin/bash -xe
|
2014-06-24 11:57:44 +10:00
|
|
|
export PATH=`pwd`/buck/bin:$PATH
|
2014-02-20 14:07:11 -08:00
|
|
|
mkdir -p gerrit
|
2013-12-05 20:55:42 +00:00
|
|
|
cd gerrit
|
2014-03-18 15:18:40 +00:00
|
|
|
/usr/local/jenkins/slave_scripts/gerrit-git-prep.sh https://review.openstack.org git://git.openstack.org
|
2014-02-27 15:16:50 -08:00
|
|
|
/usr/local/jenkins/slave_scripts/version-properties.sh
|
2014-06-30 21:35:52 -07:00
|
|
|
source version.properties
|
2013-12-05 20:55:42 +00:00
|
|
|
buck clean
|
|
|
|
buck build release
|
2015-03-16 11:22:47 -07:00
|
|
|
cp buck-out/gen/release.war buck-out/gen/gerrit-$PROJECT_VER.war
|
2013-12-05 20:55:42 +00:00
|
|
|
|
|
|
|
publishers:
|
|
|
|
- war:
|
|
|
|
site: 'tarballs.openstack.org'
|
2014-06-24 11:57:44 +10:00
|
|
|
warfile: 'gerrit/buck-out/gen/gerrit-*.war'
|
2013-12-05 20:55:42 +00:00
|
|
|
target: 'tarballs/ci/gerrit'
|
2013-07-09 10:53:27 -07:00
|
|
|
- console-log
|