Add stage to build the maven-parent at each execution (and only once).

This commit is contained in:
Manuele Simi 2019-09-25 09:43:37 -04:00
parent 820000c728
commit 93970747d3
1 changed files with 9 additions and 0 deletions

9
Jenkinsfile vendored
View File

@ -94,6 +94,15 @@ pipeline {
}
}
// the maven-parent needs to be built (once) at each execution
stage('build maven-parent') {
steps {
withMaven(jdk: "${maven_jdk}", mavenLocalRepo: "${maven_local_repo_path}", mavenSettingsFilePath: "${maven_settings_file}") {
buildComponents maven-parent
}
echo "Done with maven-parent"
}
}
stage('build SmartGears components') {
steps {
withMaven(jdk: "${maven_jdk}", mavenLocalRepo: "${maven_local_repo_path}", mavenSettingsFilePath: "${maven_settings_file}") {