From cf4db6c3a24200ce3cc32a0e6fc502c652aaf226 Mon Sep 17 00:00:00 2001 From: Mali Bayhan Date: Thu, 9 Dec 2021 16:20:02 -0800 Subject: [PATCH] pact-test Sync Repo --- Jenkinsfile | 3 +++ pom.xml | 17 ++++++++++++++--- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 5393049..35789cb 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -51,7 +51,10 @@ pipeline { sh 'mvn sonar:sonar' echo '############### MAVEN END #################' } + + sh 'mvn pact:publish -Dpact.consumer.version=${GIT_COMMIT} -Dpact.tag=${BRANCH_NAME}' } + // maven:end } } diff --git a/pom.xml b/pom.xml index 7f25e5d..f3ee392 100644 --- a/pom.xml +++ b/pom.xml @@ -1,6 +1,5 @@ - + 4.0.0 org.sonarqube @@ -80,8 +79,20 @@ + + au.com.dius + pact-jvm-provider-maven_2.12 + 3.5.24 + + http://cicd.bayhan.ca:9292 + ${pact.consumer.version} + + ${pact.tag} + + + - + \ No newline at end of file