This commit is contained in:
Vendored
+7
-5
@@ -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'
|
||||||
|
|||||||
Reference in New Issue
Block a user