system-config/modules/openstack_project/files/jenkins_job_builder/config/gerrit.yaml
Monty Taylor bca812d090 Simplify tarball and pypi publishing
Only publish distinct tarballs to tarballs.o.o for tags.
Use tarballs from tarballs.o.o when uploading to pypi instead of rebuilding.
Publish $project-$branch.tar.gz tarballs for every commit.

Change-Id: Ifd2c3b8c9734875ffb15528f84409f44e2f842da
Reviewed-on: https://review.openstack.org/18797
Reviewed-by: James E. Blair <corvus@inaugust.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
2013-01-08 02:16:57 +00:00

96 lines
1.7 KiB
YAML

- job:
name: check-gerrit-unittests
project-type: maven
node: precise
wrappers:
- timeout:
timeout: 40
fail: true
triggers:
- zuul
prebuilders:
- gerrit-git-prep
- gerrit-preclean
maven:
root-module:
group-id: com.google.gerrit
artifact-id: gerrit-parent
goals: 'clean package -Dgerrit.include-documentation=1 -X'
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: precise
wrappers:
- timeout:
timeout: 40
fail: true
triggers:
- zuul
prebuilders:
- gerrit-git-prep
- gerrit-preclean
maven:
root-module:
group-id: com.google.gerrit
artifact-id: gerrit-parent
goals: 'clean package -Dgerrit.include-documentation=1 -X'
postbuilders:
- gerrit-postrun
publishers:
- console-log
- job:
name: gerrit-package
project-type: maven
node: precise
wrappers:
- timeout:
timeout: 40
fail: true
triggers:
- zuul-post
prebuilders:
- gerrit-git-prep
- gerrit-preclean
maven:
root-module:
group-id: com.google.gerrit
artifact-id: gerrit-parent
goals: 'clean package -Dgerrit.include-documentation=1 -X'
postbuilders:
- gerrit-postrun
publishers:
- war:
site: 'tarballs.openstack.org'
warfile: 'gerrit-war/target/gerrit*.war'
target: 'tarballs/ci/'
- console-log-post