Add stage to build the maven-parent at each execution (and only once).
This commit is contained in:
parent
820000c728
commit
93970747d3
|
@ -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') {
|
stage('build SmartGears components') {
|
||||||
steps {
|
steps {
|
||||||
withMaven(jdk: "${maven_jdk}", mavenLocalRepo: "${maven_local_repo_path}", mavenSettingsFilePath: "${maven_settings_file}") {
|
withMaven(jdk: "${maven_jdk}", mavenLocalRepo: "${maven_local_repo_path}", mavenSettingsFilePath: "${maven_settings_file}") {
|
||||||
|
|
Loading…
Reference in New Issue