master- Sync Repo
This commit is contained in:
parent
1f764fb7c3
commit
d1ed0785bc
14
jenkins/cd/Jenkinsfile
vendored
14
jenkins/cd/Jenkinsfile
vendored
@ -41,14 +41,16 @@ pipeline {
|
||||
steps {
|
||||
// sh 'export SSL_CERT_FILE=/tmp/cacert.pem'
|
||||
// sh 'echo $SSL_CERT_FILE'
|
||||
withEnv(['SSL_CERT_FILE=/tmp/cacert.pem']) {
|
||||
sh 'cd /tmp && { curl -LO http://curl.haxx.se/ca/cacert.pem ; cd -; } '
|
||||
withEnv(['SSL_CERT_FILE=/etc/ssl/certs/cacert.pem']) {
|
||||
sh 'cd /etc/ssl/certs && { curl -LO http://curl.haxx.se/ca/cacert.pem ; cd -; } '
|
||||
sh 'echo $SSL_CERT_FILE'
|
||||
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 'curl -LO https://github.com/pact-foundation/pact-ruby-standalone/r\
|
||||
eleases/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') {
|
||||
sh "./pact-broker can-i-deploy --retry-while-unknown=12 --retry-interval=10 -a messaging-app -b https://pact.bayhan.ca -e ${GIT_COMMIT}"
|
||||
}
|
||||
dir('pact/bin') {
|
||||
sh "./pact-broker can-i-deploy --retry-while-unknown=12 --retry-interval=10\
|
||||
-a messaging-app -b https://pact.bayhan.ca -e ${GIT_COMMIT}"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user