[POLICY] Create the jenkins jobs for policy-clamp 79/116279/6
authorsebdet <sebastien.determe@intl.att.com>
Thu, 10 Dec 2020 09:58:06 +0000 (10:58 +0100)
committerJessica Wagantall <jwagantall@linuxfoundation.org>
Thu, 10 Dec 2020 18:03:34 +0000 (10:03 -0800)
Create the new jenkins jobs to build/release policy-clamp
Remove previous jjb file which was done in the wrong
path.

Issue-ID: POLICY-2918
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I812ac04a1b1191f151517b56a9d9d59264029bca
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
jjb/policy-clamp/policy-clamp.yaml [deleted file]
jjb/policy/policy-clamp.yaml [new file with mode: 0644]

diff --git a/jjb/policy-clamp/policy-clamp.yaml b/jjb/policy-clamp/policy-clamp.yaml
deleted file mode 100644 (file)
index 124d848..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
----
-- project:
-    name: policy-clamp-project-view
-    project-name: policy-clamp
-    views:
-      - project-view
-
-- project:
-    name: policy-clamp-info
-    project: policy/clamp
-    project-name: policy-clamp
-    build-node: centos7-builder-2c-1g
-    jobs:
-      - gerrit-info-yaml-verify
diff --git a/jjb/policy/policy-clamp.yaml b/jjb/policy/policy-clamp.yaml
new file mode 100644 (file)
index 0000000..2fbbf70
--- /dev/null
@@ -0,0 +1,78 @@
+---
+- project:
+    name: policy-clamp
+    project-name: 'policy-clamp'
+    jobs:
+      - gerrit-maven-stage:
+          build-node: ubuntu1804-docker-8c-16g
+          maven-versions-plugin: true
+          sign-artifacts: true
+      - gerrit-maven-docker-stage:
+          build-node: ubuntu1804-docker-8c-8g
+          maven-versions-plugin: true
+          container-public-registry: 'nexus3.onap.org:10001'
+          container-staging-registry: 'nexus3.onap.org:10003'
+          mvn-params: '-Dmaven.test.skip=true -P docker'
+      - '{project-name}-{stream}-verify-java':
+          mvn-params: '-P docker'
+          build-node: ubuntu1804-docker-8c-16g
+      - '{project-name}-{stream}-merge-java':
+         mvn-params: '-P docker'
+      - '{project-name}-gerrit-release-jobs':
+          build-node: centos7-docker-8c-8g
+
+    project: 'policy/clamp'
+    stream:
+        - 'master':
+              branch: 'master'
+        - 'frankfurt':
+              branch: 'frankfurt'
+        - 'guilin':
+              branch: 'guilin'
+        - 'tosca-poc':
+              branch: 'tosca-poc'
+    mvn-settings: 'policy-clamp-settings'
+    java-version: openjdk11
+    files: '**'
+    archive-artifacts: ''
+    build-node: ubuntu1804-docker-8c-8g
+
+- project:
+    name: policy-clamp-sonar
+    jobs:
+      - gerrit-maven-sonar:
+    sonarcloud: true
+    sonarcloud-project-organization: '{sonarcloud_project_organization}'
+    sonarcloud-api-token: '{sonarcloud_api_token}'
+    sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
+    sonar-mvn-goal: '{sonar_mvn_goal}'
+    cron: '@daily'
+    build-node: ubuntu1804-docker-8c-8g
+    project: 'policy/clamp'
+    project-name: 'policy-clamp'
+    branch: 'master'
+    mvn-settings: 'policy-clamp-settings'
+    mvn-goals: 'clean install'
+    mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
+    java-version: openjdk11
+
+- project:
+    name: policy-clamp-clm
+    jobs:
+      - gerrit-maven-clm:
+    nexus-iq-namespace: 'onap-'
+    project: 'policy/clamp'
+    project-name: 'policy-clamp'
+    branch: 'master'
+    mvn-settings: 'policy-clamp-settings'
+    build-node: ubuntu1804-docker-8c-8g
+    java-version: openjdk11
+
+- project:
+    name: policy-clamp-info
+    project-name: policy-clamp
+    jobs:
+      - gerrit-info-yaml-verify
+    build-node: centos7-builder-2c-1g
+    project: policy/clamp
+    branch: master