adding initial ties test
[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     trigger_branch_pattern: '**'
8     trigger_files_path_pattern: '**'
9
10     properties:
11       - logrotate
12
13     
14     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: ''
23       - string:
24           name: DIRECTORY
25           default: '{directory}'
26           description: Current Project Directory
27
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