This commit is contained in:
Julien Cabillot 2021-01-04 12:05:48 -05:00
parent 643f9fd03c
commit 4837a1a8cd

10
Jenkinsfile vendored
View File

@ -2,10 +2,16 @@ pipeline {
environment { environment {
registry = 'https://registry.hub.docker.com' registry = 'https://registry.hub.docker.com'
registryCredential = 'dockerhub_jcabillot' registryCredential = 'dockerhub_jcabillot'
dockerImage = 'jcabillot/phpapache' dockerImage = 'jcabillot/phpapache:arm64'
} }
agent any //agent { label 'arm64' }
agent {
kubernetes {
defaultContainer 'docker' // All `steps` instructions will be executed by this container
yamlFile 'Jenkinsfile-pod-template.yml'
}
}
triggers { triggers {
cron('@midnight') cron('@midnight')