master- Sync Repo

This commit is contained in:
Mali Bayhan 2021-12-10 11:50:33 -08:00
parent f4e7eb3a32
commit db3c6dbdee

View File

@ -39,12 +39,21 @@ pipeline {
// }
}
}
stage('Static Code Analysis') {
steps {
withSonarQubeEnv('cicd') {
sh 'mvn sonar:sonar'
}
}
}
stage('Check Pact Verifications') {
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 '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 httsp://pact.bayhan.ca -e ${GIT_COMMIT}"
sh "./pact-broker can-i-deploy --retry-while-unknown=12 --retry-interval=10 -a messaging-app -b https://pact.bayhan.ca -e ${GIT_COMMIT}"
}
}
}