blob: 0f201d4b9f6525c58b1f51e60d9a7b426628078d [file] [log] [blame]
nauman55ba9412022-03-28 15:15:19 +00001- job-template:
2 name: 'oransc-{project-name}-verify-go'
3 node: oransc-ubuntu2004
4 disabled: false
5 concurrent: true
rohithrajneeshaec245a2023-09-22 15:27:42 +01006 directory: ' '
7 trigger_branch_pattern: '**'
8 trigger_files_path_pattern: '**'
nauman55ba9412022-03-28 15:15:19 +00009
10 properties:
11 - logrotate
12
rohithrajneeshc04abca2023-08-24 16:06:37 +010013
nauman55ba9412022-03-28 15:15:19 +000014 parameters:
15 - nordix-gerrit-parameters
16 - string:
17 name: PROJECT
18 default: 'oransc/{project}'
19 description: JJB configured PROJECT parameter to identify a Nordix Gerrit project
20 - string:
21 name: GERRIT_REFSPEC
22 default: ''
rohithrajneeshc04abca2023-08-24 16:06:37 +010023 - string:
24 name: DIRECTORY
rohithrajneesh3f14c402023-09-21 15:45:22 +010025 default: '{directory}'
rohithrajneeshc04abca2023-08-24 16:06:37 +010026 description: Current Project Directory
nauman55ba9412022-03-28 15:15:19 +000027
28 scm:
29 - git-scm-gerrit:
30 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
31 branch: $GERRIT_BRANCH
32 refspec: $GERRIT_REFSPEC
33 wipe_workspace: true
34 clean_before: false
35
36 triggers:
37 - nordix-gerrit-trigger-patchset-created:
38 project: 'oransc/{project}'
39 branch: '**'
40 files: '**'
41
42 wrappers:
43 - build-timeout:
44 timeout: 45
45
46 builders:
47 - shell:
48 !include-raw-escape: ./verify-jobs-go.sh