From b9cb17cce555cb3b7a18411cad1b88d978c38572 Mon Sep 17 00:00:00 2001 From: Mali Bayhan Date: Fri, 10 Dec 2021 08:57:18 -0800 Subject: [PATCH] pact-test Sync Repo --- Jenkinsfile | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index c8da386..b995d9b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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}' } } }