system-config/modules/openstack_project/files/jenkins_job_builder/config/translation-jobs.yaml
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

83 lines
1.6 KiB
YAML

- job-template:
name: '{name}-upstream-translation-update'
concurrent: false
builders:
- gerrit-git-prep
- shell: |
#!/bin/bash -xe
/usr/local/jenkins/slave_scripts/upstream_translation_update.sh {name}
publishers:
- console-log
node: 'tx'
- job-template:
name: '{name}-propose-translation-update'
concurrent: false
triggers:
- timed: '@daily'
builders:
- shell: |
#!/bin/bash -xe
/usr/local/jenkins/slave_scripts/propose_translation_update.sh {name}
publishers:
- console-log-periodic
scm:
- git:
url: 'git://github.com/{github-org}/{name}.git'
branches:
- 'origin/master'
node: 'tx'
- job:
name: manuals-upstream-translation-update
concurrent: false
builders:
- gerrit-git-prep
- shell: |
#!/bin/bash -xe
/usr/local/jenkins/slave_scripts/upstream_translation_update_manuals.sh
publishers:
- console-log
node: 'tx'
- job:
name: manuals-propose-translation-update
concurrent: false
triggers:
- timed: '@daily'
builders:
- shell: |
#!/bin/bash -xe
/usr/local/jenkins/slave_scripts/propose_translation_update_manuals.sh
publishers:
- console-log-periodic
scm:
- git:
url: 'git://github.com/openstack/openstack-manuals.git'
branches:
- 'origin/master'
node: 'tx'
- job-group:
name: translation-jobs
jobs:
- '{name}-upstream-translation-update'
- '{name}-propose-translation-update'