Adding Jenkins Jobs to Cert-Service moved from AAF repo to OOM repo
Issue-ID: OOM-2526
Signed-off-by: Pawel Baniewski <pawel.baniewski@nokia.com>
Change-Id: I1058b4a8e22ff9885ad5fde745c7cca0bbf85772
diff --git a/jjb/oom-platform-cert-service/oom-platform-cert-service-csit.yaml b/jjb/oom-platform-cert-service/oom-platform-cert-service-csit.yaml
new file mode 100644
index 0000000..5cf656a
--- /dev/null
+++ b/jjb/oom-platform-cert-service/oom-platform-cert-service-csit.yaml
@@ -0,0 +1,15 @@
+# Note: 202003, LF says ubuntu1604 is deprecated. Use ubuntu1804 when needed
+- project:
+ name: oom-platform-cert-service-csit
+ jobs:
+ - "{project-name}-{stream}-verify-csit-{functionality}"
+ - "{project-name}-{stream}-csit-{functionality}"
+ project-name: "oom-platform-cert-service"
+ stream:
+ - "master":
+ branch: "master"
+ functionality:
+ - "certservice":
+ trigger_jobs:
+ - "{project-name}-{stream}-merge-java"
+ robot-options: ""
diff --git a/jjb/oom-platform-cert-service/oom-platform-cert-service.yaml b/jjb/oom-platform-cert-service/oom-platform-cert-service.yaml
index eca392a..99a6387 100644
--- a/jjb/oom-platform-cert-service/oom-platform-cert-service.yaml
+++ b/jjb/oom-platform-cert-service/oom-platform-cert-service.yaml
@@ -12,3 +12,67 @@
build-node: centos7-builder-2c-1g
jobs:
- gerrit-info-yaml-verify
+
+- project:
+ name: oom-platform-cert-service
+ project-name: 'oom-platform-cert-service'
+ stream:
+ - 'master':
+ branch: 'master'
+ java-version: openjdk11
+ project: 'oom/platform/cert-service'
+ mvn-settings: 'oom-platform-cert-service-settings'
+ files: '**'
+ maven-deploy-properties: |
+ deployAtEnd=true
+ archive-artifacts: ''
+ build-node: ubuntu1804-docker-8c-8g
+ jobs:
+ - '{project-name}-{stream}-verify-java':
+ mvn-goals: 'clean install'
+ - '{project-name}-{stream}-merge-java':
+ mvn-goals: 'clean deploy'
+ - '{project-name}-gerrit-release-jobs':
+ build-node: centos7-docker-8c-8g
+ - gerrit-maven-stage:
+ sign-artifacts: true
+ build-node: centos7-docker-8c-8g
+ maven-versions-plugin: true
+ mvn-goals: 'clean deploy -P docker'
+ - gerrit-maven-docker-stage:
+ build-node: ubuntu1804-docker-8c-8g
+ container-public-registry: 'nexus3.onap.org:10001'
+ container-staging-registry: 'nexus3.onap.org:10003'
+ mvn-params: '-P docker -DskipTests=true -DskipNexusStagingDeployMojo=true -DskipDockerPush=false'
+
+- project:
+ name: oom-platform-cert-service-sonar
+ subproject: 'oom-platform-cert-service'
+ path: 'certService'
+ java-version: openjdk11
+ 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: 'oom/platform/cert-service'
+ project-name: 'oom-platform-cert-service'
+ branch: 'master'
+ mvn-settings: 'oom-platform-cert-service-settings'
+ mvn-pom: 'certService/pom.xml'
+ mvn-goals: 'clean install'
+ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
+
+- project:
+ name: oom-platform-cert-service-clm
+ jobs:
+ - gerrit-maven-clm
+ nexus-iq-namespace: 'onap-'
+ project: 'oom/platform/cert-service'
+ project-name: 'oom-platform-cert-service'
+ branch: 'master'
+ mvn-settings: 'oom-platform-cert-service-settings'