blob: 48bf37a9c50585a07682e9b62327d80b24f84313 [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'
33 submodule-recursive: 'false'
34 choosing-strategy: gerrit
35 jenkins-ssh-credential: '{jenkins-ssh-credential}'
36
37 node: '{build-node}'
38 project-type: freestyle
39 concurrent: true
40
41 builders:
42 - shell: !include-raw-escape: ../shell/licensecheck.sh
43