From 2b5b9cf0cc8a5e9309303530493972c5d0790f58 Mon Sep 17 00:00:00 2001 From: matthias Date: Tue, 11 Mar 2025 00:29:20 +0000 Subject: [PATCH] Jenkinsfile aktualisiert --- Jenkinsfile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 7925d36..5e7bce8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -9,8 +9,8 @@ pipeline { some-label: some-label-value spec: containers: - - name: maven - image: maven:3.9.9-eclipse-temurin-17 + - name: buildah + image: quay.io/buildah/stable command: - cat tty: true @@ -24,10 +24,12 @@ pipeline { } } stages { - stage('Run maven') { + stage('Run buildah') { steps { - container('maven') { - sh 'mvn -version' + container('buildah') { + sh 'ls -lha' + sh 'buildah images' + sh 'buildah -version' } container('busybox') { sh 'ls -lha'