2 Commits

Author SHA1 Message Date
767ef95d63 Actualiser jenkinsfile
Some checks failed
hash_utils/pipeline/head There was a failure building this commit
2025-09-07 12:50:55 +02:00
d1cf442fdb Ajouter jenkinsfile
All checks were successful
hash_utils/pipeline/head This commit looks good
2025-09-07 00:11:16 +02:00

22
jenkinsfile Normal file
View File

@@ -0,0 +1,22 @@
pipeline {
agent any
stages {
stage('Audit') {
steps {
sh '''
go install github.com/securego/gosec/v2/cmd/gosec@v2.22.8
go install honnef.co/go/tools/cmd/staticcheck@v0.6.1
/var/lib/jenkins/go/bin/staticcheck ./...
/var/lib/jenkins/go/bin/gosec -exclude="G401,G501,G103" ./...
'''
}
}
stage('Build') {
steps {
sh './build.sh'
}
}
}
}