Files
jenkins-casc/Jenkinsfile
T
matthias 2b5b9cf0cc
kaniko-test/pipeline/head There was a failure building this commit
Jenkinsfile aktualisiert
2025-03-11 00:29:20 +00:00

40 lines
749 B
Groovy

pipeline {
agent {
kubernetes {
yaml '''
apiVersion: v1
kind: Pod
metadata:
labels:
some-label: some-label-value
spec:
containers:
- name: buildah
image: quay.io/buildah/stable
command:
- cat
tty: true
- name: busybox
image: busybox
command:
- cat
tty: true
'''
retries 2
}
}
stages {
stage('Run buildah') {
steps {
container('buildah') {
sh 'ls -lha'
sh 'buildah images'
sh 'buildah -version'
}
container('busybox') {
sh 'ls -lha'
}
}
}
}
}