robert.tomczyk | f97b3c2 | 2019-09-18 15:14:38 +0100 | [diff] [blame^] | 1 | - job-template: |
| 2 | name: 'oransc-{project-name}-push-upstream' |
| 3 | node: infra-ubuntu1804 |
| 4 | disabled: false |
| 5 | concurrent: false |
| 6 | |
| 7 | properties: |
| 8 | - logrotate |
| 9 | |
| 10 | parameters: |
| 11 | - string: |
| 12 | name: PROJECT |
| 13 | default: 'oransc/{project}' |
| 14 | description: JJB configured PROJECT parameter to identify a Nordix Gerrit project |
| 15 | - nordix-gerrit-parameters |
| 16 | |
| 17 | scm: |
| 18 | - git-scm-gerrit: |
| 19 | ssh-credentials-id: nordixinfra-nordix-gerrit-ssh |
| 20 | branch: $GERRIT_BRANCH |
| 21 | refspec: $GERRIT_REFSPEC |
| 22 | wipe_workspace: true |
| 23 | clean_before: false |
| 24 | |
| 25 | triggers: |
| 26 | - nordix-gerrit-push-upstream: |
| 27 | project: 'oransc/{project}' |
| 28 | branch: '**' |
| 29 | files: '**' |
| 30 | |
| 31 | wrappers: |
| 32 | - build-timeout: |
| 33 | timeout: 10 |
| 34 | |
| 35 | builders: |
| 36 | - shell: |
| 37 | !include-raw-escape: ./push-upstream-jobs.sh |