project-config/jenkins/jobs/translation-jobs.yaml
Andreas Jaeger ac536d8a15 Remove useless '' for nodes
There's no need to quote these entries, remove the '' for consistency
with majority of usage.

Change-Id: I68d23ecd9cf3399a2a5a450ff86e56986851afea
2017-05-01 10:23:41 +02:00

94 lines
2.4 KiB
YAML

- job-template:
name: '{name}-upstream-translation-update'
builders:
- print-template-name:
template-name: "{template-name}"
- proposal-slave-cleanup
- revoke-sudo
- zuul-git-prep-upper-constraints
- shell: |
#!/bin/bash -xe
/usr/local/jenkins/slave_scripts/upstream_translation_update.sh {name} {template-name}
publishers:
- scp:
site: 'tarballs.openstack.org'
files:
- source: 'translation-source/**/*.pot'
target: 'tarballs/'
keep-hierarchy: true
- scp:
site: 'static.openstack.org'
files:
- target: 'logs/$LOG_PATH'
source: 'testrepository.subunit.gz'
keep-hierarchy: false
copy-after-failure: true
- test-results
- console-log
node: proposal
- job-template:
name: '{name}-propose-translation-update{suffix}'
builders:
- print-template-name:
template-name: "{template-name}"
- proposal-slave-cleanup
- revoke-sudo
- zuul-git-branch-prep-upper-constraints:
branch: '{branch}'
- shell: |
#!/bin/bash -xe
/usr/local/jenkins/slave_scripts/propose_translation_update.sh {name} {branch} {template-name}
publishers:
- scp:
site: 'static.openstack.org'
files:
- target: 'logs/$LOG_PATH'
source: 'testrepository.subunit.gz'
keep-hierarchy: false
copy-after-failure: true
- test-results
- console-log
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-newton
suffix: '-newton'
branch: stable/newton
jobs:
- '{name}-propose-translation-update{suffix}'
- job-group:
name: translation-jobs-ocata
suffix: '-ocata'
branch: stable/ocata
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}-{node}':
envlist: checklang
node: ubuntu-xenial
- '{name}-tox-doc-{envlist}':
envlist: publishlang