File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
src/com/cloudogu/ces/cesbuildlib Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
99## [ Unreleased]
1010
11+ ## [ 4.0.1] ( https://github.com/cloudogu/ces-build-lib/releases/tag/4.0.1 ) - 2025-01-07
12+ ### Fixed
13+ - Archive Trivy scan artifacts correctly
14+
1115## [ 4.0.0] ( https://github.com/cloudogu/ces-build-lib/releases/tag/4.0.0 ) - 2025-01-07
1216### Added
1317- Add Trivy class for scanning container images with Trivy
Original file line number Diff line number Diff line change 1919 <groupId >com.cloudogu.ces</groupId >
2020 <artifactId >ces-build-lib</artifactId >
2121 <name >ces-build-lib</name >
22- <version >4.0.0 </version >
22+ <version >4.0.1 </version >
2323
2424
2525 <properties >
Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ class Trivy implements Serializable {
153153 .inside(" -v ${ script.env.WORKSPACE} /.trivy/.cache:/root/.cache/" ) {
154154 script. sh(script : " trivy convert --format ${ formatString} --severity ${ severity} --output ${ trivyDirectory} /${ formattedTrivyReportFilename} ${ trivyReportFile} " )
155155 }
156- script. archiveArtifacts artifacts : " ${ trivyDirectory} /${ formattedTrivyReportFilename } . *" , allowEmptyArchive : true
156+ script. archiveArtifacts artifacts : " ${ trivyDirectory} /*" , allowEmptyArchive : true
157157 }
158158
159159 private static String getFileExtension (String format ) {
You can’t perform that action at this time.
0 commit comments