blob: fe4ef6d4680e91828bf85d3b9df54f5110d4ce81 [file] [log] [blame]
Zack Williams3403ff42019-08-13 18:30:42 -07001---
2# Verify that there is valid license/copyright on files
3
4- job-template:
5 id: verify-licensed
6 name: 'verify-licensed_{project}'
7 description: |
8 Created by ci-management/jjb/templates/verify-licensed.yaml
9
10 triggers:
11 - onf-infra-gerrit-trigger-patchset:
12 gerrit-server-name: '{gerrit-server-name}'
13 project-regexp: '^{project}$'
14 branch-regexp: '{branch-regexp}'
15 file-include-regexp: '{all-files-regexp}'
16 dependency-jobs: '{dependency-jobs}'
17
18 properties:
19 - onf-infra-properties:
20 build-days-to-keep: '{build-days-to-keep}'
21 artifact-num-to-keep: '{artifact-num-to-keep}'
22
23 wrappers:
24 - lf-infra-wrappers:
25 build-timeout: '{build-timeout}'
26 jenkins-ssh-credential: '{jenkins-ssh-credential}'
27
28 scm:
29 - lf-infra-gerrit-scm:
30 git-url: '$GIT_URL/$GERRIT_PROJECT'
31 refspec: '$GERRIT_REFSPEC'
32 branch: '$GERRIT_BRANCH'
Zack Williams05f06082020-01-22 14:19:34 -070033 submodule-disable: '{submodule-disable}'
34 submodule-recursive: '{submodule-recursive}'
35 submodule-timeout: '{submodule-timeout}'
Zack Williams3403ff42019-08-13 18:30:42 -070036 choosing-strategy: gerrit
37 jenkins-ssh-credential: '{jenkins-ssh-credential}'
38
39 node: '{build-node}'
40 project-type: freestyle
41 concurrent: true
42
43 builders:
44 - shell: !include-raw-escape: ../shell/licensecheck.sh
45