fix: add workaround for Jenkins
This commit is contained in:
parent
e6b163fdd5
commit
991e9b2ffc
13
Jenkinsfile
vendored
13
Jenkinsfile
vendored
@ -1,6 +1,13 @@
|
||||
pipeline {
|
||||
agent { node { label 'podman-aws-trivy' } }
|
||||
stages {
|
||||
stage('Prepare'){
|
||||
steps {
|
||||
// get tags
|
||||
sh 'git fetch --tags ${env.GIT_URL}" +refs/heads/${env.BRANCH_NAME}:refs/remotes/origin/${env.BRANCH_NAME}'
|
||||
}
|
||||
}
|
||||
|
||||
// Build using rootless podman
|
||||
stage('Build'){
|
||||
steps {
|
||||
@ -8,6 +15,12 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Test'){
|
||||
steps {
|
||||
sh 'make test'
|
||||
}
|
||||
}
|
||||
|
||||
// Scan via trivy
|
||||
stage('Scan'){
|
||||
environment {
|
||||
|
Loading…
Reference in New Issue
Block a user