blob: 9e181d538fc91e46efcc1571be055efafb94c66d [file] [log] [blame]
---
# fossa license check job
# Check for license issues with the FOSSA tool
- project:
name: fossa-verify
jobs:
- 'fossa-verify':
fossa-team: cord
project-regexp: '{all-projects-regexp}'
branch-regexp: '{all-branches-regexp}'
file-include-regexp: '{all-files-regexp}'
- job-template:
id: 'fossa-verify'
name: 'verify_fossa_{fossa-team}'
description: |
Post-merge check of code with fossa toolset
Created by {id} job-template from ci-management/jjb/fossa.yaml<br/>
Copyright 2018-2024 Open Networking Foundation (ONF) and the ONF Contributors
properties:
- cord-infra-properties:
build-days-to-keep: '{build-days-to-keep}'
artifact-num-to-keep: '{artifact-num-to-keep}'
wrappers:
- lf-infra-wrappers:
build-timeout: '15'
jenkins-ssh-credential: '{jenkins-ssh-credential}'
- credentials-binding:
- text:
credential-id: fossa-api-key
variable: FOSSA_API_KEY
parameters:
- string:
name: buildNode
default: '{build-node}'
description: 'Name of the Jenkins node to run the job on'
- string:
name: gitUrl
default: '{gerrit-server-url}/$GERRIT_PROJECT'
description: 'URL to the git repo'
- string:
name: gitRef
default: '$GERRIT_PATCHSET_REVISION'
description: 'git ref to build (commit hash or tag)'
- string:
name: projectName
default: '$GERRIT_PROJECT'
description: 'Name of the project in Gerrit'
- string:
name: branchName
default: '$GERRIT_BRANCH'
description: 'Branch of the project in Gerrit'
- string:
name: fossaTeam
default: '{fossa-team}'
description: 'Team to assign this project to in FOSSA'
project-type: pipeline
concurrent: true
dsl: !include-raw-escape: pipeline/fossa-verify.groovy
# [EOF]