Browse Source

Use k3s

master
Julien Cabillot 2 weeks ago
parent
commit
4837a1a8cd
1 changed files with 8 additions and 2 deletions
  1. 10
      Jenkinsfile

10
Jenkinsfile

@ -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')

Loading…
Cancel
Save