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'