From 90bb2df759a44a943872f7ec9afc16220e066efa Mon Sep 17 00:00:00 2001 From: =?utf8?q?Oliver=20B=C3=B6ttcher?= Date: Mon, 12 Mar 2018 13:55:32 +0100 Subject: [PATCH] fix jenkins linter check --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 60e9db79..9d0dbb61 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,6 +3,6 @@ stage('Yaml-Linter') { 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 'LANG=C.UTF-8 /usr/bin/yamllint -c yamllint.config .' + sh 'bash -c "LANG=C.UTF-8 /usr/bin/yamllint -c yamllint.config ."' } } -- 2.39.5