chore: debug Jenkins
This commit is contained in:
parent
c0f6d6781d
commit
df98cb7b25
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -1,6 +1,6 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
// agent { node { label 'podman && trivy && aws' } }
|
// agent { node { label 'podman && trivy && aws' } }
|
||||||
agent any
|
agent { node { label 'podman' } }
|
||||||
stages {
|
stages {
|
||||||
stage('Build'){
|
stage('Build'){
|
||||||
steps {
|
steps {
|
||||||
@ -16,6 +16,7 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
// Scan via trivy
|
// Scan via trivy
|
||||||
sh 'mkdir -p reports'
|
sh 'mkdir -p reports'
|
||||||
|
sh 'env'
|
||||||
sh 'make scan'
|
sh 'make scan'
|
||||||
publishHTML target : [
|
publishHTML target : [
|
||||||
allowMissing: true,
|
allowMissing: true,
|
||||||
@ -33,7 +34,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('Push'){
|
stage('Push'){
|
||||||
steps {
|
steps {
|
||||||
sh 'make push'
|
sh 'echo make push'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user