From ff090ba2db9ac675111a9c84b138c5eccd2d8941 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Lino?= Date: Sat, 25 Apr 2020 14:13:57 +0100 Subject: [PATCH] Does this scope work? --- Jenkinsfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index fcb295a..a9c2a31 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,4 +1,5 @@ pipeline { + def customImage agent { node { label 'docker' @@ -18,8 +19,6 @@ pipeline { cron('@weekly') } stages { - def customImage - stage('Clone repository') { checkout scm } -- 2.24.1