CI/CD for ARC portal 13/2213/1
authorIoakeim Samaras <is661a@att.com>
Wed, 29 Jan 2020 02:49:24 +0000 (18:49 -0800)
committerIoakeim Samaras <is661a@att.com>
Wed, 29 Jan 2020 02:49:24 +0000 (18:49 -0800)
The following jenkins jobs are supported

- Common maven jobs
- Building and uploading the docker images

Signed-off-by: Ioakeim Samaras <is661a@att.com>
Change-Id: Icf140349432a5aa6f293acbfeec7c5f9f426ec29

jjb/portal_user_interface/portal-onapsdk-docker.yaml [new file with mode: 0644]
jjb/portal_user_interface/portal-onapsdk.yaml

diff --git a/jjb/portal_user_interface/portal-onapsdk-docker.yaml b/jjb/portal_user_interface/portal-onapsdk-docker.yaml
new file mode 100644 (file)
index 0000000..bdadcf5
--- /dev/null
@@ -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'
index b3f6f1e..6be5b6d 100644 (file)
 - 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