Add withMaven closure
This commit is contained in:
parent
cebb92951f
commit
dd32572d09
|
@ -96,17 +96,26 @@ pipeline {
|
||||||
}
|
}
|
||||||
stage('build SmartGears components') {
|
stage('build SmartGears components') {
|
||||||
steps {
|
steps {
|
||||||
buildComponents items: jsonConfig.gCube_release.Components.SmartGears.collect { "${it}" }
|
withMaven(jdk: "${maven_jdk}", mavenLocalRepo: "${maven_local_repo_path}", mavenSettingsFilePath: "${maven_settings_file}") {
|
||||||
|
buildComponents items: jsonConfig.gCube_release.Components.SmartGears.collect { "${it}" }
|
||||||
|
}
|
||||||
|
echo "Done with SmartGears components"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('build Enabling components') {
|
stage('build Enabling components') {
|
||||||
steps {
|
steps {
|
||||||
buildComponents items: jsonConfig.gCube_release.Components.Enabling.collect { "${it}" }
|
withMaven(jdk: "${maven_jdk}", mavenLocalRepo: "${maven_local_repo_path}", mavenSettingsFilePath: "${maven_settings_file}") {
|
||||||
|
buildComponents items: jsonConfig.gCube_release.Components.Enabling.collect { "${it}" }
|
||||||
|
}
|
||||||
|
echo "Done with Enabling components"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('build Data components') {
|
stage('build Data components') {
|
||||||
steps {
|
steps {
|
||||||
buildComponents items: jsonConfig.gCube_release.Components.Data.collect { "${it}" }
|
withMaven(jdk: "${maven_jdk}", mavenLocalRepo: "${maven_local_repo_path}", mavenSettingsFilePath: "${maven_settings_file}") {
|
||||||
|
buildComponents items: jsonConfig.gCube_release.Components.Data.collect { "${it}" }
|
||||||
|
}
|
||||||
|
echo "Done with Data components"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue