Files
thelilfrog af11e843a4
CloudSave/pipeline/head There was a failure building this commit
fixing sec issues
2025-09-07 01:14:19 +02:00

22 lines
539 B
Plaintext

pipeline {
agent any
stages {
stage('Audit') {
steps {
sh '''
go install github.com/securego/gosec/v2/cmd/[email protected]
go install honnef.co/go/tools/cmd/[email protected]
/var/lib/jenkins/go/bin/staticcheck ./...
/var/lib/jenkins/go/bin/gosec -exclude="G401,G501,G103" ./...
'''
}
}
stage('Build') {
steps {
sh './build.sh'
}
}
}
}