Skip to content

Commit

Permalink
fixed trivy fail by added .trivyignore and creating trivy output dir,…
Browse files Browse the repository at this point in the history
… bumping ces buildlib, cypress image version
  • Loading branch information
dnschwarzer committed Nov 19, 2024
1 parent e732c22 commit 6d0a45a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Empty file added .trivyignore
Empty file.
5 changes: 3 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!groovy
@Library(['github.com/cloudogu/[email protected]', 'github.com/cloudogu/ces-build-lib@2.4.0']) _
@Library(['github.com/cloudogu/[email protected]', 'github.com/cloudogu/ces-build-lib@3.0.0']) _
import com.cloudogu.ces.dogubuildlib.*
import com.cloudogu.ces.cesbuildlib.*

Expand Down Expand Up @@ -57,6 +57,7 @@ node('vagrant') {
}

stage('Trivy scan') {
sh 'mkdir -p trivy/output'
trivy.scanDogu("/dogu", TrivyScanFormat.HTML, params.TrivyScanLevels, params.TrivyStrategy)
trivy.scanDogu("/dogu", TrivyScanFormat.JSON, params.TrivyScanLevels, params.TrivyStrategy)
trivy.scanDogu("/dogu", TrivyScanFormat.PLAIN, params.TrivyScanLevels, params.TrivyStrategy)
Expand All @@ -76,7 +77,7 @@ node('vagrant') {
stage('Integration Tests') {
echo "run integration tests."
ecoSystem.runCypressIntegrationTests([
cypressImage : "cypress/included:13.12.0",
cypressImage : "cypress/included:13.14.0",
enableVideo : params.EnableVideoRecording,
enableScreenshots: params.EnableScreenshotRecording,
])
Expand Down

0 comments on commit 6d0a45a

Please sign in to comment.