From 767ef95d63d9e6d2260fb44e5ffc3eab48f17333 Mon Sep 17 00:00:00 2001 From: thelilfrog Date: Sun, 7 Sep 2025 12:50:55 +0200 Subject: [PATCH] Actualiser jenkinsfile --- jenkinsfile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/jenkinsfile b/jenkinsfile index af0ed6c..fae0c50 100644 --- a/jenkinsfile +++ b/jenkinsfile @@ -2,6 +2,17 @@ pipeline { agent any stages { + stage('Audit') { + steps { + sh ''' + go install github.com/securego/gosec/v2/cmd/gosec@v2.22.8 + go install honnef.co/go/tools/cmd/staticcheck@v0.6.1 + + /var/lib/jenkins/go/bin/staticcheck ./... + /var/lib/jenkins/go/bin/gosec -exclude="G401,G501,G103" ./... + ''' + } + } stage('Build') { steps { sh './build.sh'