CI verify jobs for oransc golang projects
[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     parameters:
11       - nordix-gerrit-parameters
12       - string:
13           name: PROJECT
14           default: 'oransc/{project}'
15           description: JJB configured PROJECT parameter to identify a Nordix Gerrit project
16       - string:
17           name: GERRIT_REFSPEC
18           default: ''
19
20     scm:
21       - git-scm-gerrit:
22           ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
23           branch: $GERRIT_BRANCH
24           refspec: $GERRIT_REFSPEC
25           wipe_workspace: true
26           clean_before: false
27
28     triggers:
29       - nordix-gerrit-trigger-patchset-created:
30           project: 'oransc/{project}'
31           branch: '**'
32           files: '**'
33
34     wrappers:
35       - build-timeout:
36           timeout: 45
37
38     builders:
39       - shell:
40           !include-raw-escape: ./verify-jobs-go.sh