rohithrajneesh | ab2e568 | 2023-09-15 16:35:19 +0100 | [diff] [blame] | 1 | - job-template: |
| 2 | name: 'oransc-{project-name}-verify-bash' |
| 3 | node: oransc-ubuntu2004 |
| 4 | disabled: false |
| 5 | concurrent: true |
| 6 | |
| 7 | properties: |
| 8 | - logrotate |
| 9 | |
| 10 | |
| 11 | parameters: |
| 12 | - nordix-gerrit-parameters |
| 13 | - string: |
| 14 | name: PROJECT |
| 15 | default: 'oransc/{project}' |
| 16 | description: JJB configured PROJECT parameter to identify a Nordix Gerrit project |
| 17 | - string: |
| 18 | name: GERRIT_REFSPEC |
| 19 | default: '' |
| 20 | - string: |
| 21 | name: DIRECTORY |
rohithrajneesh | 3f14c40 | 2023-09-21 15:45:22 +0100 | [diff] [blame] | 22 | default: '{directory}' |
rohithrajneesh | ab2e568 | 2023-09-15 16:35:19 +0100 | [diff] [blame] | 23 | description: Current Project Directory |
| 24 | - string: |
rohithrajneesh | 3f14c40 | 2023-09-21 15:45:22 +0100 | [diff] [blame] | 25 | name: SCRIPT_NAME |
| 26 | default: '{script-name}' |
rohithrajneesh | ab2e568 | 2023-09-15 16:35:19 +0100 | [diff] [blame] | 27 | description: Script to be executed |
| 28 | |
| 29 | |
| 30 | scm: |
| 31 | - git-scm-gerrit: |
| 32 | ssh-credentials-id: nordixinfra-nordix-gerrit-ssh |
| 33 | branch: $GERRIT_BRANCH |
| 34 | refspec: $GERRIT_REFSPEC |
| 35 | wipe_workspace: true |
| 36 | clean_before: false |
| 37 | |
| 38 | triggers: |
| 39 | - nordix-gerrit-trigger-patchset-created: |
| 40 | project: 'oransc/{project}' |
| 41 | branch: '**' |
| 42 | files: '**' |
| 43 | |
| 44 | wrappers: |
| 45 | - build-timeout: |
| 46 | timeout: 45 |
| 47 | |
| 48 | builders: |
| 49 | - shell: |
| 50 | !include-raw-escape: ./verify-jobs-bash.sh |