From 0b1979f0b7b804edb9c68cb5dd868cba84a95b7d Mon Sep 17 00:00:00 2001 From: Robert Waffen Date: Tue, 28 Aug 2018 16:40:37 +0200 Subject: [PATCH] SERVICEDESK-2408: add debug output for yaml lint installation --- Jenkinsfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 9d0dbb61..24d59be7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,7 +2,9 @@ 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 info yamllint' sh '/bin/yum install -y yamllint' + sh '$(which python) --version' sh 'bash -c "LANG=C.UTF-8 /usr/bin/yamllint -c yamllint.config ."' } } -- 2.39.5