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'