master- Sync Repo
This commit is contained in:
parent
26c3813043
commit
d4cb80be69
18
jenkins/cd/Jenkinsfile
vendored
18
jenkins/cd/Jenkinsfile
vendored
@ -17,16 +17,26 @@ pipeline {
|
||||
stages {
|
||||
stage('Build') {
|
||||
steps {
|
||||
// dir('messaging-app') {
|
||||
// dir('messaging-app') {
|
||||
sh 'mvn clean verify'
|
||||
// }
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
stage('Static Code Analysis') {
|
||||
steps {
|
||||
withSonarQubeEnv('cicd') {
|
||||
sh 'mvn sonar:sonar'
|
||||
}
|
||||
}
|
||||
|
||||
// maven:end
|
||||
}
|
||||
stage('Publish Pacts') {
|
||||
steps {
|
||||
// dir('messaging-app') {
|
||||
// dir('messaging-app') {
|
||||
sh 'mvn pact:publish -Dpact.consumer.version=${GIT_COMMIT} -Dpact.tag=${BRANCH_NAME}'
|
||||
// }
|
||||
// }
|
||||
}
|
||||
}
|
||||
stage('Check Pact Verifications') {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user