Commit f9ac8102 authored by Philippe Lafoucrière's avatar Philippe Lafoucrière

Merge branch 'make-license-scanning-bw-comp' into 'master'

Make License-Scanning backward compatible

See merge request gitlab-org/gitlab!32002
parents ebe19bfd 50e8b13a
# Deprecated: https://gitlab.com/gitlab-org/gitlab/issues/14624
# Please, use License-Scanning.gitlab-ci.yml template instead
license_management:
stage: test
image: alpine:latest
allow_failure: false
script:
include:
- template: License-Scanning.gitlab-ci.yml
license_scanning:
before_script:
- |
echo "Sorry for failing your pipeline!
As of GitLab 13.0, we have removed the License-Management.gitlab.ci.yml template (deprecated since GitLab 12.8).
echo "As of GitLab 12.8, we deprecated the License-Management.gitlab.ci.yml template.
Please replace it with the License-Scanning.gitlab-ci.yml template instead.
For more details visit
https://docs.gitlab.com/ee/user/compliance/license_compliance/#migration-from-license_management-to-license_scanning"
- exit 1
only:
refs:
- branches
variables:
- $GITLAB_FEATURES =~ /\blicense_scanning\b/
except:
refs:
- master
variables:
- $LICENSE_MANAGEMENT_DISABLED
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment