project-config/jenkins/jobs/translation-jobs.yaml
Andreas Jaeger 4dc0ca560e Merge translation proposal scripts
Merge
jenkins/scripts/propose_translation_update_django_openstack_auth.sh,
jenkins/scripts/propose_translation_update_horizon.sh, and
jenkins/scripts/propose_translation_update_manuals.sh into
jenkins/scripts/propose_translation_update.sh.

Update Jenkins and Zuul files, we can use now the same job
in all cases.

Change-Id: Idb9e8534dfc0454d75fe186e1a4a454832c8fdae
2015-09-22 20:07:52 +02:00

49 lines
1.1 KiB
YAML

- job-template:
name: '{name}-upstream-translation-update'
builders:
- 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'
builders:
- revoke-sudo
- branch-git-prep:
branch: master
- shell: |
#!/bin/bash -xe
/usr/local/jenkins/slave_scripts/propose_translation_update.sh {name}
publishers:
- console-log
- proposal-slave-cleanup
node: 'proposal'
- job-group:
name: translation-jobs
jobs:
- '{name}-upstream-translation-update'
- '{name}-propose-translation-update'
- job-group:
name: manual-translation-jobs
jobs:
- '{name}-upstream-translation-update'
- '{name}-propose-translation-update'
- 'gate-{name}-tox-{envlist}':
envlist: checklang
- '{name}-tox-doc-{envlist}':
envlist: publishlang