Files
jenkins-casc/Jenkinsfile
T
matthias b08eed5862
kaniko-test/pipeline/head Something is wrong with the build of this commit
Jenkinsfile aktualisiert
2025-03-11 00:52:50 +00:00

32 lines
587 B
Groovy

pipeline {
agent {
kubernetes {
yaml '''
apiVersion: v1
kind: Pod
metadata:
labels:
some-label: some-label-value
spec:
containers:
- name: kaniko
image: gcr.io/kaniko-project/executor:latest
args:
- "--dockerfile=Dockerfile"
- "--context=."
- "--no-push"
'''
retries 2
}
}
stages {
stage('Run kaniko') {
steps {
container('kaniko') {
sh 'ls -lha'
}
}
}
}
}