rename section Portal-Core to PortalCore

update the Jenkins file with the new sections defined in
gcube-4.15.0.yaml file
This commit is contained in:
Roberto Cirillo 2019-09-26 10:46:29 +02:00
parent 663011a58a
commit 0894e2adfc
2 changed files with 59 additions and 9 deletions

62
Jenkinsfile vendored
View File

@ -103,14 +103,23 @@ pipeline {
echo "Done with maven-parent"
}
}
stage('build SmartGears components') {
stage('build Core components') {
steps {
withMaven(jdk: "${maven_jdk}", mavenLocalRepo: "${maven_local_repo_path}", mavenSettingsFilePath: "${maven_settings_file}") {
buildComponents items: jsonConfig.gCube_release.Components.SmartGears?.collect { "${it.name}" }
buildComponents items: jsonConfig.gCube_release.Components.Core?.collect { "${it.name}" }
}
echo "Done with SmartGears components"
echo "Done with Core components"
}
}
stage('build PortalCore components') {
steps {
withMaven(jdk: "${maven_jdk}", mavenLocalRepo: "${maven_local_repo_path}", mavenSettingsFilePath: "${maven_settings_file}") {
buildComponents items: jsonConfig.gCube_release.Components.PortalCore?.collect { "${it.name}" }
}
echo "Done with Portal-Core components"
}
}
stage('build Enabling components') {
steps {
withMaven(jdk: "${maven_jdk}", mavenLocalRepo: "${maven_local_repo_path}", mavenSettingsFilePath: "${maven_settings_file}") {
@ -119,14 +128,55 @@ pipeline {
echo "Done with Enabling components"
}
}
stage('build Data components') {
stage('build ClientLibraries components') {
steps {
withMaven(jdk: "${maven_jdk}", mavenLocalRepo: "${maven_local_repo_path}", mavenSettingsFilePath: "${maven_settings_file}") {
buildComponents items: jsonConfig.gCube_release.Components.Data?.collect { "${it?.name}" }
buildComponents items: jsonConfig.gCube_release.Components.ClientLibraries?.collect { "${it?.name}" }
}
echo "Done with Data components"
echo "Done with ClientLibraries components"
}
}
stage('build Libraries components') {
steps {
withMaven(jdk: "${maven_jdk}", mavenLocalRepo: "${maven_local_repo_path}", mavenSettingsFilePath: "${maven_settings_file}") {
buildComponents items: jsonConfig.gCube_release.Components.Libraries?.collect { "${it?.name}" }
}
echo "Done with Libraries components"
}
}
stage('build Plugins components') {
steps {
withMaven(jdk: "${maven_jdk}", mavenLocalRepo: "${maven_local_repo_path}", mavenSettingsFilePath: "${maven_settings_file}") {
buildComponents items: jsonConfig.gCube_release.Components.Plugins?.collect { "${it?.name}" }
}
echo "Done with Plugins components"
}
}
stage('build Services components') {
steps {
withMaven(jdk: "${maven_jdk}", mavenLocalRepo: "${maven_local_repo_path}", mavenSettingsFilePath: "${maven_settings_file}") {
buildComponents items: jsonConfig.gCube_release.Components.Services?.collect { "${it?.name}" }
}
echo "Done with Services components"
}
}
stage('build Widgets components') {
steps {
withMaven(jdk: "${maven_jdk}", mavenLocalRepo: "${maven_local_repo_path}", mavenSettingsFilePath: "${maven_settings_file}") {
buildComponents items: jsonConfig.gCube_release.Components.Widgets?.collect { "${it?.name}" }
}
echo "Done with Widgets components"
}
}
stage('build Portlets components') {
steps {
withMaven(jdk: "${maven_jdk}", mavenLocalRepo: "${maven_local_repo_path}", mavenSettingsFilePath: "${maven_settings_file}") {
buildComponents items: jsonConfig.gCube_release.Components.Portlets?.collect { "${it?.name}" }
}
echo "Done with Portlets components"
}
}
}
}

View File

@ -11,7 +11,7 @@ gCube_release:
- name: common-encryption
version: 1.1.0
Portal-Core:
PortalCore:
- NONE
Enabling:
@ -59,8 +59,8 @@ gCube_release:
version: 1.2.0
Widgets:
-name: ckan-metadata-publisher-widget # ? dependency: HL, social-networking-library, dependant: ws-portlet, gcube-ckan-data-catalogue
version: 1.6.0
- name: ckan-metadata-publisher-widget # ? dependency: HL, social-networking-library, dependant: ws-portlet, gcube-ckan-data-catalogue
version: 1.6.0
Portlets:
- name: ws-thredds