diff --git a/jenkins/cd/Jenkinsfile b/jenkins/cd/Jenkinsfile index eb38a61..14f0d77 100644 --- a/jenkins/cd/Jenkinsfile +++ b/jenkins/cd/Jenkinsfile @@ -29,8 +29,12 @@ pipeline { stage('Check Pact Verifications') { steps { - sh 'cd /tmp && { curl -LO http://curl.haxx.se/ca/cacert.pem ; cd -; } ' - sh 'export SSL_CERT_FILE=/tmp/cacert.pem' + dir('/tmp') { + sh 'curl -LO http://curl.haxx.se/ca/cacert.pem' + 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') {