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