diff --git a/Jenkinsfile b/Jenkinsfile index e256eab..c6e0208 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -5,7 +5,13 @@ pipeline { dockerImage = 'jcabillot/mydl: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 { cron('@midnight')