Jenkinsfile aktualisiert
kaniko-test/pipeline/head There was a failure building this commit

This commit is contained in:
2025-03-11 00:29:20 +00:00
parent a7a3a59ded
commit 2b5b9cf0cc
Vendored
+7 -5
View File
@@ -9,8 +9,8 @@ pipeline {
some-label: some-label-value some-label: some-label-value
spec: spec:
containers: containers:
- name: maven - name: buildah
image: maven:3.9.9-eclipse-temurin-17 image: quay.io/buildah/stable
command: command:
- cat - cat
tty: true tty: true
@@ -24,10 +24,12 @@ pipeline {
} }
} }
stages { stages {
stage('Run maven') { stage('Run buildah') {
steps { steps {
container('maven') { container('buildah') {
sh 'mvn -version' sh 'ls -lha'
sh 'buildah images'
sh 'buildah -version'
} }
container('busybox') { container('busybox') {
sh 'ls -lha' sh 'ls -lha'