system-config/modules/openstack_project/files/jenkins_job_builder/config/translation-jobs.yaml

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-post
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-post
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/{github-org}/openstack-manuals.git'
branches:
- 'origin/master'
node: 'tx'
- job-group:
name: translation-jobs
jobs:
- '{name}-upstream-translation-update'
- '{name}-propose-translation-update'