Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Maven
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SmartDataLab
public
CI-CD components
Maven
Commits
fe96b4ae
Commit
fe96b4ae
authored
7 months ago
by
Clement Bois
Browse files
Options
Downloads
Patches
Plain Diff
fix: set trivy artifact expiration
Signed-off-by:
Clement Bois
<
clement.bois@orange.com
>
parent
a935bbe8
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
templates/gitlab-ci-maven-jib.yml
+2
-0
2 additions, 0 deletions
templates/gitlab-ci-maven-jib.yml
with
2 additions
and
0 deletions
templates/gitlab-ci-maven-jib.yml
+
2
−
0
View file @
fe96b4ae
...
...
@@ -184,6 +184,8 @@ mvn-trivy:
# console output (fail)
trivy ${trivy_opts} --format table --exit-code 1 $MAVEN_JIB_SNAPSHOT_IMAGE
artifacts
:
name
:
"
$CI_JOB_NAME
artifacts
from
$CI_PROJECT_NAME
on
$CI_COMMIT_REF_SLUG"
expire_in
:
1 day
when
:
always
paths
:
-
"
reports/jib-trivy-*"
...
...
This diff is collapsed.
Click to expand it.
Benguria Elguezabal, Gorka
@gorka.benguria
mentioned in commit
5fa7fec1
·
4 months ago
mentioned in commit
5fa7fec1
mentioned in commit 5fa7fec1e92c3a0595aca11daee7aef5f57f0a6f
Toggle commit list
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