project-config/jenkins/jobs/gerrit.yaml
Jeremy Stanley da67129d34 Remove pointless tarball-site parameter
Across the entirety of our job config corpus, we only ever set the
tarball-site parameter to tarballs.openstack.org. Instead just set
it directly in the publishers where it's needed and reduce
unwarranted confusion for people writing job configs. This also
allows us to get rid of the parameterized sites in the tarball,
wheel and war publishers.

Change-Id: I31109f41177b8c07177d7ed8ef16cbfd135131ef
2016-12-19 14:48:08 +00:00

64 lines
1.7 KiB
YAML

- job:
name: gate-gerrit-buck
node: ubuntu-trusty
wrappers:
- build-timeout:
timeout: 40
- timestamps
builders:
- install-distro-packages
- revoke-sudo
- install-buck
- shell: |
#!/bin/bash -xe
export PATH=`pwd`/buck/bin:$PATH
mkdir -p gerrit
cd gerrit
/usr/local/jenkins/slave_scripts/gerrit-git-prep.sh https://review.openstack.org git://git.openstack.org
/usr/local/jenkins/slave_scripts/version-properties.sh
source version.properties
buck clean
buck test --all --exclude slow
buck build release
cp buck-out/gen/release/release.war buck-out/gen/gerrit-$PROJECT_VER.war
publishers:
- war:
warfile: 'gerrit/buck-out/gen/gerrit-*.war'
target: 'tarballs/ci/test'
- console-log
- job:
name: gerrit-package-buck
node: ubuntu-trusty
wrappers:
- build-timeout:
timeout: 40
- timestamps
builders:
- install-distro-packages
- revoke-sudo
- install-buck
- shell: |
#!/bin/bash -xe
export PATH=`pwd`/buck/bin:$PATH
mkdir -p gerrit
cd gerrit
/usr/local/jenkins/slave_scripts/gerrit-git-prep.sh https://review.openstack.org git://git.openstack.org
/usr/local/jenkins/slave_scripts/version-properties.sh
source version.properties
buck clean
buck build release
cp buck-out/gen/release/release.war buck-out/gen/gerrit-$PROJECT_VER.war
publishers:
- war:
warfile: 'gerrit/buck-out/gen/gerrit-*.war'
target: 'tarballs/ci/gerrit'
- console-log