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