Skip to content

Commit

Permalink
DROOLS-3898 Use submarine Maven settings.xml in PR automation (apache#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
baldimir authored and mswiderski committed Apr 17, 2019
1 parent b6d1273 commit d339a1b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ pipeline {
dir("submarine-bom") {
script {
githubscm.checkoutIfExists('submarine-bom', "$CHANGE_AUTHOR", "$CHANGE_BRANCH", 'kiegroup', "$CHANGE_TARGET")
maven.runMavenWithSubmarineSettings('clean install', true)
}
sh 'mvn clean install -DskipTests'
}
}
}
Expand All @@ -35,16 +35,18 @@ pipeline {
dir("submarine-runtimes") {
script {
githubscm.checkoutIfExists('submarine-runtimes', "$CHANGE_AUTHOR", "$CHANGE_BRANCH", 'kiegroup', "$CHANGE_TARGET")
maven.runMavenWithSubmarineSettings('clean install', true)
}
sh 'mvn clean install -DskipTests'
}
}
}
}
stage('Build submarine-cloud') {
steps {
timeout(30) {
sh 'mvn clean install'
script {
maven.runMavenWithSubmarineSettings('clean install', false)
}
}
}
}
Expand Down

0 comments on commit d339a1b

Please sign in to comment.