robert.tomczyk | e53f009 | 2019-06-05 12:03:09 +0100 | [diff] [blame] | 1 | - job-template: |
robert.tomczyk | a49a3a4 | 2019-09-04 15:43:19 +0100 | [diff] [blame] | 2 | name: 'onap-{project-name}-push-upstream' |
robert.tomczyk | 325d547 | 2022-01-21 12:43:08 +0000 | [diff] [blame] | 3 | node: infra-ubuntu2004 |
robert.tomczyk | e53f009 | 2019-06-05 12:03:09 +0100 | [diff] [blame] | 4 | disabled: false |
robert.tomczyk | 28e1041 | 2019-06-26 11:10:59 +0100 | [diff] [blame] | 5 | concurrent: false |
robert.tomczyk | e53f009 | 2019-06-05 12:03:09 +0100 | [diff] [blame] | 6 | |
| 7 | properties: |
| 8 | - logrotate |
| 9 | |
| 10 | parameters: |
robert.tomczyk | a49a3a4 | 2019-09-04 15:43:19 +0100 | [diff] [blame] | 11 | - string: |
| 12 | name: PROJECT |
| 13 | default: 'onap/{project}' |
| 14 | description: JJB configured PROJECT parameter to identify a Nordix Gerrit project |
robert.tomczyk | e53f009 | 2019-06-05 12:03:09 +0100 | [diff] [blame] | 15 | - nordix-gerrit-parameters |
| 16 | |
| 17 | scm: |
| 18 | - git-scm-gerrit: |
| 19 | ssh-credentials-id: nordixinfra-nordix-gerrit-ssh |
robert.tomczyk | a49a3a4 | 2019-09-04 15:43:19 +0100 | [diff] [blame] | 20 | branch: $GERRIT_BRANCH |
robert.tomczyk | e53f009 | 2019-06-05 12:03:09 +0100 | [diff] [blame] | 21 | refspec: $GERRIT_REFSPEC |
robert.tomczyk | 7e50787 | 2019-06-18 17:20:26 +0100 | [diff] [blame] | 22 | wipe_workspace: true |
| 23 | clean_before: false |
robert.tomczyk | e53f009 | 2019-06-05 12:03:09 +0100 | [diff] [blame] | 24 | |
| 25 | triggers: |
| 26 | - nordix-gerrit-push-upstream: |
| 27 | project: 'onap/{project}' |
robert.tomczyk | a49a3a4 | 2019-09-04 15:43:19 +0100 | [diff] [blame] | 28 | branch: '**' |
robert.tomczyk | e53f009 | 2019-06-05 12:03:09 +0100 | [diff] [blame] | 29 | files: '**' |
| 30 | |
| 31 | wrappers: |
| 32 | - build-timeout: |
| 33 | timeout: 10 |
robert.tomczyk | 8721bec | 2019-10-11 13:48:12 +0100 | [diff] [blame] | 34 | - ssh-agent-credentials: |
| 35 | users: |
| 36 | - 'infra-upstream-gerrit-ssh-passphrase' |
robert.tomczyk | 3b23ad2 | 2022-01-21 13:11:11 +0000 | [diff] [blame] | 37 | - 'nordixinfra-nordix-gerrit-ssh' |
robert.tomczyk | a22a930 | 2021-03-31 16:46:13 +0100 | [diff] [blame] | 38 | - nordix-gerrit-http-api-token |
robert.tomczyk | e53f009 | 2019-06-05 12:03:09 +0100 | [diff] [blame] | 39 | |
| 40 | builders: |
| 41 | - shell: |
| 42 | !include-raw-escape: ./push-upstream-jobs.sh |