master- Sync Repo
This commit is contained in:
parent
b192a69676
commit
7f6ee5a1bc
3232
files/cacert.pem
Normal file
3232
files/cacert.pem
Normal file
File diff suppressed because it is too large
Load Diff
13
jenkins/cd/Jenkinsfile
vendored
13
jenkins/cd/Jenkinsfile
vendored
@ -29,10 +29,13 @@ pipeline {
|
|||||||
|
|
||||||
stage('Check Pact Verifications') {
|
stage('Check Pact Verifications') {
|
||||||
steps {
|
steps {
|
||||||
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 'cp files/cacert.pem /tmp'
|
||||||
sh 'tar xzf pact-1.88.3-linux-x86_64.tar.gz'
|
withEnv(['SSL_CERT_FILE=/tmp/cacert.pem']) {
|
||||||
dir('pact/bin') {
|
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 "./pact-broker can-i-deploy -a user-service -b https://pact.bayhan.ca -e ${GIT_COMMIT}"
|
sh 'tar xzf pact-1.88.3-linux-x86_64.tar.gz'
|
||||||
|
dir('pact/bin') {
|
||||||
|
sh "./pact-broker can-i-deploy -a user-service -b https://pact.bayhan.ca -e ${GIT_COMMIT}"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -44,5 +47,5 @@ pipeline {
|
|||||||
echo 'Deploying to prod now...'
|
echo 'Deploying to prod now...'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user