system-config/modules/openstack_project/files/jenkins_job_builder/config/translation-jobs.yaml
Sergey Lukjanov 94c43aa551 Translation update jobs now supports any org
Change-Id: I252efe1b741ec08fc5d5fadd3507af905c2dd1ec
2013-08-29 20:47:53 +04:00

77 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: 'proposal'
- job-template:
name: '{name}-propose-translation-update'
concurrent: false
builders:
- shell: |
#!/bin/bash -xe
/usr/local/jenkins/slave_scripts/propose_translation_update.sh {github-org} {name}
publishers:
- console-log-periodic
scm:
- git:
url: 'git://git.openstack.org/{github-org}/{name}'
branches:
- 'origin/master'
node: 'proposal'
- 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: 'proposal'
- job:
name: manuals-propose-translation-update
concurrent: false
builders:
- shell: |
#!/bin/bash -xe
/usr/local/jenkins/slave_scripts/propose_translation_update_manuals.sh
publishers:
- console-log-periodic
scm:
- git:
url: 'git://git.openstack.org/openstack/openstack-manuals'
branches:
- 'origin/master'
node: 'proposal'
- job-group:
name: translation-jobs
jobs:
- '{name}-upstream-translation-update'
- '{name}-propose-translation-update'