From 526a3d84cf5e30d61cee7ecf18f68e19b8d42333 Mon Sep 17 00:00:00 2001 From: Robert Waffen Date: Tue, 28 Aug 2018 17:02:48 +0200 Subject: [PATCH] SERVICEDESK-2408: try to use python 3 --- Jenkinsfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ."' } } -- 2.39.5