add gosec
Some checks failed
CloudSave/pipeline/head There was a failure building this commit

This commit is contained in:
2025-09-07 00:31:37 +02:00
parent 0a33d1b68d
commit b3232e79d5

View File

@@ -2,6 +2,14 @@ pipeline {
agent any agent any
stages { 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') { stage('Build') {
steps { steps {
sh './build.sh' sh './build.sh'