system-config/modules/openstack_project/files/jenkins_job_builder/config/gerrit.yaml
Khai Do 072c926e05 Fix filename typo in gerrit jobs.
Change-Id: Ia0758dba612ee05ce606205957128efe0a9fab88
2014-06-30 21:35:52 -07:00

182 lines
4.3 KiB
YAML

- job:
name: check-gerrit-unittests
project-type: maven
node: 'bare-precise || bare-trusty'
wrappers:
- build-timeout:
timeout: 40
- timestamps
prebuilders:
- revoke-sudo
- gerrit-git-prep
- gerrit-preclean
maven:
maven-name: Maven3
root-module:
group-id: com.google.gerrit
artifact-id: gerrit-parent
goals: 'clean package -Dgerrit.include-documentation=1 -X -B'
postbuilders:
- gerrit-postrun
publishers:
- war:
site: 'tarballs.openstack.org'
warfile: 'gerrit-war/target/gerrit*.war'
target: 'tarballs/ci/test/'
- console-log
- job:
name: gate-gerrit-unittests
project-type: maven
node: 'bare-precise || bare-trusty'
wrappers:
- build-timeout:
timeout: 40
- timestamps
prebuilders:
- revoke-sudo
- gerrit-git-prep
- gerrit-preclean
maven:
maven-name: Maven3
root-module:
group-id: com.google.gerrit
artifact-id: gerrit-parent
goals: 'clean package -Dgerrit.include-documentation=1 -X -B'
postbuilders:
- gerrit-postrun
publishers:
- console-log
- job:
name: gerrit-package
project-type: maven
node: 'bare-precise || bare-trusty'
wrappers:
- build-timeout:
timeout: 40
- timestamps
prebuilders:
- revoke-sudo
- gerrit-git-prep
- gerrit-preclean
maven:
maven-name: Maven3
root-module:
group-id: com.google.gerrit
artifact-id: gerrit-parent
goals: 'clean package -Dgerrit.include-documentation=1 -X -B'
postbuilders:
- gerrit-postrun
publishers:
- war:
site: 'tarballs.openstack.org'
warfile: 'gerrit-war/target/gerrit*.war'
target: 'tarballs/ci/gerrit'
- console-log
- job:
name: check-gerrit-buck
node: 'bare-precise || bare-trusty'
wrappers:
- build-timeout:
timeout: 40
- timestamps
builders:
- 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.war buck-out/gen/gerrit-$PROJECT_VER.war
publishers:
- war:
site: 'tarballs.openstack.org'
warfile: 'gerrit/buck-out/gen/gerrit-*.war'
target: 'tarballs/ci/test'
- console-log
- job:
name: gate-gerrit-buck
node: 'bare-precise || bare-trusty'
wrappers:
- build-timeout:
timeout: 40
- timestamps
builders:
- 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.war buck-out/gen/gerrit-$PROJECT_VER.war
publishers:
- console-log
- job:
name: gerrit-package-buck
node: 'bare-precise || bare-trusty'
wrappers:
- build-timeout:
timeout: 40
- timestamps
builders:
- 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 gerrit/buck-out/gen/release.war gerrit/buck-out/gen/gerrit-$PROJECT_VER.war
publishers:
- war:
site: 'tarballs.openstack.org'
warfile: 'gerrit/buck-out/gen/gerrit-*.war'
target: 'tarballs/ci/gerrit'
- console-log