Skip to content

Commit

Permalink
Enable submarine-bom build
Browse files Browse the repository at this point in the history
  • Loading branch information
baldimir committed Apr 11, 2019
1 parent 6f897fb commit d62974a
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,16 @@ pipeline {
}
}
stage('Build submarine-bom') {
when {
expression {
return submarineBomScmCustom != null
}
}
steps {
timeout(15) {
dir("submarine-bom") {
checkout submarineBomScmCustom
script {
if (submarineBomScmCustom != null) {
checkout submarineBomScmCustom
} else {
checkout(githubscm.resolveRepository('submarine-bom', 'kiegroup', "$CHANGE_TARGET", false))
}
}
sh 'mvn clean install -DskipTests'
}
}
Expand Down

0 comments on commit d62974a

Please sign in to comment.