From: Robert Waffen Date: Tue, 28 Aug 2018 14:44:12 +0000 (+0200) Subject: SERVICEDESK-2408: remove which, it is not available in jenkins slave X-Git-Tag: v0.1.0~262^2~3^2~2^2~7 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=75857487072aad4ba3aff15fd5b9a14abdf21bcc;p=pixelpark%2Fhiera.git SERVICEDESK-2408: remove which, it is not available in jenkins slave --- diff --git a/Jenkinsfile b/Jenkinsfile index 24d59be7..2dda20db 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,7 +4,7 @@ stage('Yaml-Linter') { 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 'python --version' sh 'bash -c "LANG=C.UTF-8 /usr/bin/yamllint -c yamllint.config ."' } }