Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
50e8b13a
Commit
50e8b13a
authored
May 17, 2020
by
Philippe Lafoucrière
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make License-Scanning backward compatible
parent
5c94a189
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
18 deletions
+6
-18
lib/gitlab/ci/templates/Security/License-Management.gitlab-ci.yml
...ab/ci/templates/Security/License-Management.gitlab-ci.yml
+6
-18
No files found.
lib/gitlab/ci/templates/Security/License-Management.gitlab-ci.yml
View file @
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment