diff --git a/Jenkinsfile b/Jenkinsfile index 6db96cf..997a262 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -96,7 +96,7 @@ stage('install required python packages') { steps { sh ''' - pip install --user -r requirements.txt + pip3 install --user -r requirements.txt ''' } } @@ -117,7 +117,7 @@ stage('Execute Export Script TERRAFORM') { steps { - sh 'python export.py TERRAFORM' + sh 'python3 export.py TERRAFORM' //Only required once CN is not reachable from EMEA //loopEnvironments(environments) diff --git a/export.py b/export.py index 043844d..0a42bc2 100644 --- a/export.py +++ b/export.py @@ -1,5 +1,5 @@ import os -import subprocess32 as subprocess +import subprocess import sys import time import shutil