commit 9b4da8142b0a40088064a8e0083dadc80af7a0a6 parent 3481bf2ca78ff298ad4c55b6fd0b3362e172d392 Author: Andreas Gruhler <andreas.gruhler@adfinis.com> Date: Tue, 28 May 2024 00:41:14 +0200 debug(Jenkinsfile): archiveArtifacts the report Diffstat:
M | Jenkinsfile | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile @@ -10,9 +10,9 @@ pipeline { stages { stage('scan') { steps { - sh 'gitleaks detect --source . -v' + sh 'gitleaks detect --source . -v --report-path gitleaks-report.json' sh 'ls' - //archiveArtifacts artifacts: '**/target/*.jar', fingerprint: true + archiveArtifacts artifacts: 'gitleaks-report.json', fingerprint: true } } }