From b3232e79d5c38424bfbc916185c4232fa19a0cc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lie=20DELHAIE?= Date: Sun, 7 Sep 2025 00:31:37 +0200 Subject: [PATCH] add gosec --- jenkinsfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/jenkinsfile b/jenkinsfile index af0ed6c..db04988 100644 --- a/jenkinsfile +++ b/jenkinsfile @@ -2,6 +2,14 @@ pipeline { agent any stages { + stage('Audit') { + steps { + sh ''' + go install github.com/securego/gosec/v2/cmd/gosec@v2.22.8 + /var/lib/jenkins/go/bin/gosec ./... + ''' + } + } stage('Build') { steps { sh './build.sh'