system-config/modules/openstack_project/files/jenkins_job_builder/config/translation-jobs.yaml
Andreas Jaeger f7786e4e33 Fix periodic manuals-propose-translation-update jobs
Periodic jobs should not have a check for "branch: master", remove it.
Also, ensure that git is setup properly with adding scm definition.

Change-Id: I8d2fdec93d976610f453e746f354c08ae5483388
2014-03-17 22:29:29 +01:00

92 lines
1.9 KiB
YAML

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