478993cfc781f9ee573472d0decf03872c526df6
[infra/cicd.git] / jjb / oransc / global-templates-oran-go.yaml
1 - job-template:
2     name: 'oransc-{project-name}-verify-go'
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
22           default: ""
23           description: Current Project Directory
24
25     scm:
26       - git-scm-gerrit:
27           ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
28           branch: $GERRIT_BRANCH
29           refspec: $GERRIT_REFSPEC
30           wipe_workspace: true
31           clean_before: false
32
33     triggers:
34       - nordix-gerrit-trigger-patchset-created:
35           project: 'oransc/{project}'
36           branch: '**'
37           files: '**'
38
39     wrappers:
40       - build-timeout:
41           timeout: 45
42
43     builders:
44       - shell:
45           !include-raw-escape: ./verify-jobs-go.sh