This commit is contained in:
1 parent
0a33d1b68d
commit
b3232e79d5
1 file changed
+8
@@ -2,6 +2,14 @@ pipeline {
|
||||
agent any
|
||||
|
||||
stages {
|
||||
stage('Audit') {
|
||||
steps {
|
||||
sh '''
|
||||
go install github.com/securego/gosec/v2/cmd/[email protected]
|
||||
/var/lib/jenkins/go/bin/gosec ./...
|
||||
'''
|
||||
}
|
||||
}
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh './build.sh'
|
||||
|
||||
Reference in new issue
Block a user