pact-test Sync Repo

This commit is contained in:
Mali Bayhan 2021-12-10 08:57:18 -08:00
parent 2edf9f641c
commit b9cb17cce5

14
Jenkinsfile vendored
View File

@ -36,22 +36,20 @@ pipeline {
}
}
// maven:end
}
stage('Pact') {
steps {
withSonarQubeEnv('cicd') {
echo '################# MAVEN ###################'
sh 'echo ${GIT_BRANCH} ${BRANCH_NAME}'
sh 'mvn sonar:sonar'
echo '############### MAVEN END #################'
}
sh 'mvn pact:publish -Dpact.consumer.version=${GIT_COMMIT} -Dpact.tag=${BRANCH_NAME}'
}
// maven:end
}
stage('Pact'){
sh 'mvn pact:publish -Dpact.consumer.version=${GIT_COMMIT} -Dpact.tag=${BRANCH_NAME}'
}
}
}