Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uw-spring-security
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Package Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
adi-ia
uw-spring-security
Commits
8db88ca0
Commit
8db88ca0
authored
2 years ago
by
bhill6@wisc.edu
Browse files
Options
Downloads
Patches
Plain Diff
reorganized gitlab-ci for scanning
parent
00866503
No related branches found
No related tags found
1 merge request
!36
Dependency updates to eliminate vulnerabilities discovered by dependency-check
Pipeline
#137759
passed
2 years ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+34
-6
34 additions, 6 deletions
.gitlab-ci.yml
with
34 additions
and
6 deletions
.gitlab-ci.yml
+
34
−
6
View file @
8db88ca0
include
:
include
:
# Security scanning
# Security scanning
-
template
:
Security/SAST.gitlab-ci.yml
-
template
:
Security/SAST.gitlab-ci.yml
-
template
:
Security/SAST-IaC.latest.gitlab-ci.yml
-
template
:
Security/Secret-Detection.gitlab-ci.yml
-
template
:
Security/Secret-Detection.gitlab-ci.yml
-
template
:
Security/Dependency-Scanning.gitlab-ci.yml
-
template
:
Security/Dependency-Scanning.gitlab-ci.yml
...
@@ -27,25 +28,52 @@ default:
...
@@ -27,25 +28,52 @@ default:
-
docker
-
docker
stages
:
stages
:
-
test
# GitLab security scanning jobs use the 'test' stage
-
build
-
test
-
deploy
-
deploy
test
:
build_jar
:
stage
:
test
stage
:
build
cache
:
paths
:
-
.m2/repository
script
:
script
:
-
mvn
clean
$MAVEN_CLI_OPTS verify
-
mvn $MAVEN_CLI_OPTS
clean
verify
artifacts
:
artifacts
:
paths
:
paths
:
-
.m2/
-
target/
-
uw-spring-security-config/target/dependency-check-report.html
-
uw-spring-security-config/target/dependency-check-report.html
-
uw-spring-security-core/target/dependency-check-report.html
-
uw-spring-security-core/target/dependency-check-report.html
-
uw-spring-security-sample-war/target/dependency-check-report.html
-
uw-spring-security-sample-war/target/dependency-check-report.html
-
uw-spring-security-web/target/dependency-check-report.html
-
uw-spring-security-web/target/dependency-check-report.html
expire_in
:
1 year
expire_in
:
1 week
secret_detection
:
needs
:
[]
semgrep-sast
:
needs
:
[]
gemnasium-maven-dependency_scanning
:
variables
:
DS_JAVA_VERSION
:
8
needs
:
-
build_jar
spotbugs-sast
:
tags
:
needs
:
-
build_jar
variables
:
SAST_JAVA_VERSION
:
8
MAVEN_REPO_PATH
:
$CI_PROJECT_DIR/.m2/repository
COMPILE
:
"
false"
deploy
:
deploy
:
stage
:
deploy
stage
:
deploy
only
:
only
:
-
main
-
trunk
script
:
script
:
-
env
-
env
-
mvn $MAVEN_CLI_OPTS deploy -Pdeploy -X
-
mvn $MAVEN_CLI_OPTS deploy -Pdeploy -X
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment