From: Ioakeim Samaras Date: Wed, 29 Jan 2020 02:49:24 +0000 (-0800) Subject: CI/CD for ARC portal X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F13%2F2213%2F1;p=ci-management.git CI/CD for ARC portal The following jenkins jobs are supported - Common maven jobs - Building and uploading the docker images Signed-off-by: Ioakeim Samaras Change-Id: Icf140349432a5aa6f293acbfeec7c5f9f426ec29 --- diff --git a/jjb/portal_user_interface/portal-onapsdk-docker.yaml b/jjb/portal_user_interface/portal-onapsdk-docker.yaml new file mode 100644 index 0000000..bdadcf5 --- /dev/null +++ b/jjb/portal_user_interface/portal-onapsdk-docker.yaml @@ -0,0 +1,34 @@ +--- +# +# Copyright (c) 2020 AT&T Intellectual Property. All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. +# +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +- project: + project-name: portal_user_interface-portal-onapsdk + project: 'portal_user_interface/portal-onapsdk' + name: portal_user_interface-portal-onapsdk-docker + global-settings-file: global-settings + build-node: ubuntu1604-docker-8c-8g + stream: master + java-version: openjdk8 + mvn-version: mvn35 + mvn-opts: '' + mvn-params: '' + mvn-settings: portal_user_interface-settings + build-timeout: 60 + submodule-recursive: true + branch: master + jobs: + - 'akraino-project-stream-docker' + - 'akraino-project-stream-stage-docker' diff --git a/jjb/portal_user_interface/portal-onapsdk.yaml b/jjb/portal_user_interface/portal-onapsdk.yaml index b3f6f1e..6be5b6d 100644 --- a/jjb/portal_user_interface/portal-onapsdk.yaml +++ b/jjb/portal_user_interface/portal-onapsdk.yaml @@ -17,15 +17,26 @@ - project: project: 'portal_user_interface/portal-onapsdk' project-name: portal_user_interface-portal-onapsdk - name: portal_user_interface-portal-onapsdk-tox-verify - stream: - - master: - branch: '{stream}' - gs-pathname: '' - disabled: false + name: portal_user_interface-portal-onapsdk + build-node: centos7-builder-2c-1g + mvn-settings: portal_user_interface-settings + mvn-params: '' + nexus-iq-namespace: 'akraino-' + sonarcloud: true + sonarcloud-project-organization: '{sonarcloud_project_organization}' + sonarcloud-api-token: '{sonarcloud_api_token}' + sonarcloud-project-key: '{sonarcloud_project_organization}_portal_user_interface' + stream: master jobs: - 'gerrit-tox-verify': parallel: false submodule-disable: true - build-node: centos7-builder-2c-1g - + stream: + - master: + branch: '{stream}' + gs-pathname: '' + disabled: false + - '{project-name}-maven-jobs' + - gerrit-maven-sonar + views: + - project-view