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