]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
Remove deprecation in Jenkinsfile
authorPhilipp Dallig <philipp.dallig@pixelpark.com>
Mon, 15 May 2017 12:32:42 +0000 (14:32 +0200)
committerPhilipp Dallig <philipp.dallig@pixelpark.com>
Mon, 15 May 2017 12:32:42 +0000 (14:32 +0200)
Jenkinsfile

index eefb88f7499f111f80f282d225991227a228d8c4..66ad20d8adeaa70e36b1ad24b8e9dd64c95e2ddb 100644 (file)
@@ -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 .'
+  }
 }