diff --git a/jenkins/cd/Jenkinsfile b/jenkins/cd/Jenkinsfile index 14f0d77..f895250 100644 --- a/jenkins/cd/Jenkinsfile +++ b/jenkins/cd/Jenkinsfile @@ -29,12 +29,9 @@ pipeline { stage('Check Pact Verifications') { steps { - dir('/tmp') { - sh 'curl -LO http://curl.haxx.se/ca/cacert.pem' - sh 'export SSL_CERT_FILE=/tmp/cacert.pem' - } + sh 'cd /tmp && { curl -LO http://curl.haxx.se/ca/cacert.pem ; cd -; } ' + sh 'export SSL_CERT_FILE=/tmp/cacert.pem' sh 'echo SSL_CERT_FILE' - /* groovylint-disable-next-line LineLength */ sh 'curl -LO https://github.com/pact-foundation/pact-ruby-standalone/releases/download/v1.88.3/pact-1.88.3-linux-x86_64.tar.gz' sh 'tar xzf pact-1.88.3-linux-x86_64.tar.gz' dir('pact/bin') {