Zack Williams | c1d6a5e | 2019-05-06 16:35:58 -0700 | [diff] [blame] | 1 | --- |
| 2 | # synopsys license check job |
| 3 | # Check for license issues with the Synopsys "Black Duck" tool |
| 4 | |
| 5 | - job-template: |
Zack Williams | 3bf60d5 | 2019-06-07 12:56:10 -0700 | [diff] [blame] | 6 | id: 'synopsys-periodic-check' |
| 7 | name: 'synopsys-periodic-check_{blackduck-project}' |
Zack Williams | c1d6a5e | 2019-05-06 16:35:58 -0700 | [diff] [blame] | 8 | |
| 9 | description: | |
Zack Williams | 3bf60d5 | 2019-06-07 12:56:10 -0700 | [diff] [blame] | 10 | Periodic merge check of code with synopsys toolset |
Zack Williams | c1d6a5e | 2019-05-06 16:35:58 -0700 | [diff] [blame] | 11 | Created by {id} job-template from ci-management/jjb/synopsys-check.yaml<br/> |
| 12 | Copyright (c) 2018-present Open Networking Foundation (ONF) |
| 13 | |
| 14 | properties: |
| 15 | - cord-infra-properties: |
| 16 | build-days-to-keep: '{build-days-to-keep}' |
| 17 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 18 | |
| 19 | wrappers: |
| 20 | - lf-infra-wrappers: |
| 21 | build-timeout: '{build-timeout}' |
| 22 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 23 | |
| 24 | parameters: |
| 25 | - string: |
| 26 | name: executorNode |
| 27 | default: '{build-node}' |
| 28 | description: 'Name of the Jenkins node to run the job on' |
| 29 | |
| 30 | - string: |
| 31 | name: branch |
| 32 | default: 'master' |
| 33 | description: 'branch to check' |
| 34 | |
| 35 | - string: |
| 36 | name: git_server_url |
Zack Williams | b92f5d8 | 2019-05-06 22:16:40 -0700 | [diff] [blame] | 37 | default: '{git-server-url}' |
Zack Williams | c1d6a5e | 2019-05-06 16:35:58 -0700 | [diff] [blame] | 38 | description: 'Git Server URL' |
| 39 | |
| 40 | - string: |
| 41 | name: github_organization |
| 42 | default: '{github-organization}' |
| 43 | description: 'GitHub Organization (leave blank if using Gerrit)' |
| 44 | |
| 45 | - string: |
| 46 | name: blackduck_project |
| 47 | default: '{blackduck-project}' |
| 48 | description: 'The project to assign repos to in the BlackDuck dashboard' |
| 49 | |
| 50 | project-type: pipeline |
| 51 | concurrent: true |
| 52 | |
| 53 | dsl: !include-raw-escape: pipeline/synopsys-check.groovy |
| 54 | |
| 55 | triggers: |
| 56 | - timed: | |
| 57 | TZ=America/Los_Angeles |
| 58 | H 3 * * * |
Zack Williams | 3bf60d5 | 2019-06-07 12:56:10 -0700 | [diff] [blame] | 59 | |
| 60 | |
| 61 | - job-template: |
| 62 | id: 'synopsys-merge-check' |
| 63 | name: 'synopsys-merge-check_{blackduck-project}' |
| 64 | |
| 65 | description: | |
| 66 | Post-merge check of code with synopsys toolset |
| 67 | Created by {id} job-template from ci-management/jjb/synopsys-check.yaml<br/> |
| 68 | Copyright (c) 2018-present Open Networking Foundation (ONF) |
| 69 | |
| 70 | triggers: |
| 71 | - cord-infra-gerrit-trigger-merge: |
| 72 | gerrit-server-name: '{gerrit-server-name}' |
| 73 | project-regexp: '{all-projects-regexp}' |
| 74 | branch-regexp: '{all-branches-regexp}' |
| 75 | file-include-regexp: '{all-files-regexp}' |
| 76 | dependency-jobs: '{dependency-jobs}' |
| 77 | |
| 78 | properties: |
| 79 | - cord-infra-properties: |
| 80 | build-days-to-keep: '{build-days-to-keep}' |
| 81 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 82 | |
| 83 | wrappers: |
| 84 | - lf-infra-wrappers: |
| 85 | build-timeout: '{build-timeout}' |
| 86 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 87 | |
| 88 | parameters: |
| 89 | - string: |
| 90 | name: executorNode |
| 91 | default: '{build-node}' |
| 92 | description: 'Name of the Jenkins node to run the job on' |
| 93 | |
| 94 | - string: |
| 95 | name: gitUrl |
| 96 | default: '{gerrit-server-url}/$GERRIT_PROJECT' |
| 97 | description: 'URL to the git repo' |
| 98 | |
| 99 | - string: |
| 100 | name: gitRef |
| 101 | default: '$GERRIT_PATCHSET_REVISION' |
| 102 | description: 'git ref to build (commit hash or tag)' |
| 103 | |
| 104 | - string: |
| 105 | name: projectName |
| 106 | default: '$GERRIT_PROJECT' |
| 107 | description: 'Name of the project in Gerrit' |
| 108 | |
| 109 | - string: |
| 110 | name: branchName |
| 111 | default: '$GERRIT_BRANCH' |
| 112 | description: 'Branch of the project in Gerrit' |
| 113 | |
| 114 | - string: |
| 115 | name: blackduck_project |
| 116 | default: '{blackduck-project}' |
| 117 | description: 'The project to assign repos to in the BlackDuck dashboard' |
| 118 | |
| 119 | project-type: pipeline |
| 120 | concurrent: true |
| 121 | |
| 122 | dsl: !include-raw-escape: pipeline/synopsys-single.groovy |