This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user