commit 3481bf2ca78ff298ad4c55b6fd0b3362e172d392 parent 14690336510ead85109f07d3d7211892e03b395e Author: Andreas Gruhler <andreas.gruhler@adfinis.com> Date: Mon, 27 May 2024 23:30:16 +0200 feat: add jenkinsfile Diffstat:
A | Jenkinsfile | | | 19 | +++++++++++++++++++ |
1 file changed, 19 insertions(+), 0 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile @@ -0,0 +1,19 @@ +pipeline { + agent { + docker { + label 'podman' + image 'ghcr.io/gitleaks/gitleaks:v8.18.2' + args '-u root --entrypoint=' + } + } + + stages { + stage('scan') { + steps { + sh 'gitleaks detect --source . -v' + sh 'ls' + //archiveArtifacts artifacts: '**/target/*.jar', fingerprint: true + } + } + } +}