master- Sync Repo
This commit is contained in:
parent
f4e7eb3a32
commit
db3c6dbdee
11
jenkins/cd/Jenkinsfile
vendored
11
jenkins/cd/Jenkinsfile
vendored
@ -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}"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user