project-config/jenkins/jobs/translation-jobs.yaml
Andreas Jaeger 4331f670b4 Print the JJB template name in some more jobs
Print JJB template name in more job templates so that it's easy to
identify them.

Change-Id: Ia92e39d0ac8c7655577e8fa4accde5748f30d5f1
2015-11-26 20:09:53 +01:00

64 lines
1.5 KiB
YAML

- job-template:
name: '{name}-upstream-translation-update'
builders:
- print-template-name:
template-name: "{template-name}"
- revoke-sudo
- gerrit-git-prep
- shell: |
#!/bin/bash -xe
/usr/local/jenkins/slave_scripts/upstream_translation_update.sh {name}
publishers:
- console-log
- proposal-slave-cleanup
node: 'proposal'
- job-template:
name: '{name}-propose-translation-update{suffix}'
builders:
- print-template-name:
template-name: "{template-name}"
- revoke-sudo
- branch-git-prep:
branch: '{branch}'
- shell: |
#!/bin/bash -xe
/usr/local/jenkins/slave_scripts/propose_translation_update.sh {name} {branch}
publishers:
- console-log
- proposal-slave-cleanup
node: 'proposal'
- job-group:
name: translation-jobs
suffix: ''
branch: master
jobs:
- '{name}-upstream-translation-update'
- '{name}-propose-translation-update{suffix}'
- job-group:
name: translation-jobs-liberty
suffix: '-liberty'
branch: stable/liberty
jobs:
- '{name}-propose-translation-update{suffix}'
- job-group:
name: manual-translation-jobs
suffix: ''
branch: master
jobs:
- '{name}-upstream-translation-update'
- '{name}-propose-translation-update{suffix}'
- 'gate-{name}-tox-{envlist}':
envlist: checklang
- '{name}-tox-doc-{envlist}':
envlist: publishlang