blob: 979554a70e7d2a57c063049dfc32e86dc320e210 [file] [log] [blame]
Zack Williamsc1d6a5e2019-05-06 16:35:58 -07001---
2# synopsys license check job
3# Check for license issues with the Synopsys "Black Duck" tool
4
5- job-template:
6 id: 'synopsys-check'
7 name: 'synopsys-check_{blackduck-project}'
8
9 description: |
10 Created by {id} job-template from ci-management/jjb/synopsys-check.yaml<br/>
11 Copyright (c) 2018-present Open Networking Foundation (ONF)
12
13 properties:
14 - cord-infra-properties:
15 build-days-to-keep: '{build-days-to-keep}'
16 artifact-num-to-keep: '{artifact-num-to-keep}'
17
18 wrappers:
19 - lf-infra-wrappers:
20 build-timeout: '{build-timeout}'
21 jenkins-ssh-credential: '{jenkins-ssh-credential}'
22
23 parameters:
24 - string:
25 name: executorNode
26 default: '{build-node}'
27 description: 'Name of the Jenkins node to run the job on'
28
29 - string:
30 name: branch
31 default: 'master'
32 description: 'branch to check'
33
34 - string:
35 name: git_server_url
Zack Williamsb92f5d82019-05-06 22:16:40 -070036 default: '{git-server-url}'
Zack Williamsc1d6a5e2019-05-06 16:35:58 -070037 description: 'Git Server URL'
38
39 - string:
40 name: github_organization
41 default: '{github-organization}'
42 description: 'GitHub Organization (leave blank if using Gerrit)'
43
44 - string:
45 name: blackduck_project
46 default: '{blackduck-project}'
47 description: 'The project to assign repos to in the BlackDuck dashboard'
48
49 project-type: pipeline
50 concurrent: true
51
52 dsl: !include-raw-escape: pipeline/synopsys-check.groovy
53
54 triggers:
55 - timed: |
56 TZ=America/Los_Angeles
57 H 3 * * *