system-config/modules/openstack_project/files/jenkins_job_builder/config/translation-jobs.yaml
daisy-ycguo dc21d725b2 Add script to upload/download translation resources of manuals.
Add two new translation jobs for manulas translation uploading and downloading

Bug 1162701

Change-Id: I2a07d588a85fad1c780984b3635b0795495e56f2
Reviewed-on: https://review.openstack.org/25810
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: matthew-wagoner <matthew.wagoner@hp.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
2013-05-03 18:40:27 +00:00

89 lines
1.7 KiB
YAML

- job-template:
name: '{name}-upstream-translation-update'
concurrent: false
triggers:
- zuul-post
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
triggers:
- zuul-post
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'