Zack Williams | 3403ff4 | 2019-08-13 18:30:42 -0700 | [diff] [blame] | 1 | --- |
| 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 Williams | 05f0608 | 2020-01-22 14:19:34 -0700 | [diff] [blame] | 33 | submodule-disable: '{submodule-disable}' |
| 34 | submodule-recursive: '{submodule-recursive}' |
| 35 | submodule-timeout: '{submodule-timeout}' |
Zack Williams | 3403ff4 | 2019-08-13 18:30:42 -0700 | [diff] [blame] | 36 | 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 | |