From a583a199f465a1339177ae2d193d4e4e07d2847e Mon Sep 17 00:00:00 2001 From: Philipp Dallig Date: Mon, 15 May 2017 14:32:42 +0200 Subject: [PATCH] Remove deprecation in Jenkinsfile --- Jenkinsfile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index eefb88f7..66ad20d8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,8 +1,8 @@ -stage 'Yaml-Linter' - -node("mesos") { - deleteDir() - git credentialsId: 'd1d6ad59-8d5a-45b4-acfb-64a36d7fd8cd', url: 'git@git.pixelpark.com:puppet/hiera.git', branch: "${BRANCH_NAME}" - sh '/bin/yum install -y yamllint' - sh '/usr/bin/yamllint -c yamllint.config .' +stage 'Yaml-Linter' { + node("mesos") { + deleteDir() + git credentialsId: 'd1d6ad59-8d5a-45b4-acfb-64a36d7fd8cd', url: 'git@git.pixelpark.com:puppet/hiera.git', branch: "${BRANCH_NAME}" + sh '/bin/yum install -y yamllint' + sh '/usr/bin/yamllint -c yamllint.config .' + } } -- 2.39.5