blob: f4ba9156949bd7bd1fe2f2e1943cc8ba532bd2a2 [file] [log] [blame]
rohithrajneeshab2e5682023-09-15 16:35:19 +01001- 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
rohithrajneesh3f14c402023-09-21 15:45:22 +010022 default: '{directory}'
rohithrajneeshab2e5682023-09-15 16:35:19 +010023 description: Current Project Directory
24 - string:
rohithrajneesh3f14c402023-09-21 15:45:22 +010025 name: SCRIPT_NAME
26 default: '{script-name}'
rohithrajneeshab2e5682023-09-15 16:35:19 +010027 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