James E. Blair f7f2760fe0 Set the Zuul/Jenkins base log URL in a function
And use that when constructing log paths and URLs.  Use a substr
of the change id or commit sha when constructing URLs so the log
directories are deeper.

Make copying the test results a macro (it's used in several places).

Update the gearman log client to take advantage of the new parameter.

Requires https://review.openstack.org/#/c/36304/

Change-Id: I64faa35eddc4105271efa3de4f83b608b77655c2
2013-07-19 10:36:31 -07:00

93 lines
1.8 KiB
YAML

- job:
name: check-gerrit-unittests
project-type: maven
node: precise
wrappers:
- timeout:
timeout: 40
fail: true
- timestamps
prebuilders:
- 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'
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
- timestamps
prebuilders:
- 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'
postbuilders:
- gerrit-postrun
publishers:
- console-log
- job:
name: gerrit-package
project-type: maven
node: precise
wrappers:
- timeout:
timeout: 40
fail: true
- timestamps
prebuilders:
- 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'
postbuilders:
- gerrit-postrun
publishers:
- war:
site: 'tarballs.openstack.org'
warfile: 'gerrit-war/target/gerrit*.war'
target: 'tarballs/ci/'
- console-log