From: Robert Waffen Date: Tue, 28 Aug 2018 15:02:48 +0000 (+0200) Subject: SERVICEDESK-2408: try to use python 3 X-Git-Tag: v0.1.0~262^2~3^2~2^2~4 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=526a3d84cf5e30d61cee7ecf18f68e19b8d42333;p=pixelpark%2Fhiera.git SERVICEDESK-2408: try to use python 3 --- diff --git a/Jenkinsfile b/Jenkinsfile index 14fef87e..5de14576 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -6,6 +6,7 @@ stage('Yaml-Linter') { sh 'rpm -ql yamllint' sh 'python --version' sh 'ls -la /usr/bin/python*' - sh 'bash -c "LANG=C.UTF-8 /usr/bin/yamllint -c yamllint.config ."' + sh 'yamllint --help' + sh 'bash -c "alias python="python3"; LANG=C.UTF-8 /usr/bin/yamllint -c yamllint.config ."' } }