Added Jenking Job Configuration for FGPS
Added Jenking Job Configuration for OPTF/FGPS
Issue-ID: CIMAN-256
Change-Id: Ia50957d5e99ba1cbee30b43e24fff5c096321a91
Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
diff --git a/jjb/optf/build-optf-fgps-docker-image.sh b/jjb/optf/build-optf-fgps-docker-image.sh
new file mode 100644
index 0000000..6c93c8b
--- /dev/null
+++ b/jjb/optf/build-optf-fgps-docker-image.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+#
+echo '============== CALLING SCRIPT TO BUILD DOCKER IMAGES ================='
+
+CURRENTDIR="$(pwd)"
+echo $CURRENTDIR
+
+chmod 755 ./*.*
+
+./build-dockers.sh
diff --git a/jjb/optf/optf-fgps-csit.yaml b/jjb/optf/optf-fgps-csit.yaml
new file mode 100644
index 0000000..a60c453
--- /dev/null
+++ b/jjb/optf/optf-fgps-csit.yaml
@@ -0,0 +1,15 @@
+---
+- project:
+ name: optf-fgps-csit
+ jobs:
+ - '{project-name}-{stream}-verify-csit-{functionality}'
+ - '{project-name}-{stream}-csit-{functionality}'
+ project-name: 'optf-fgps'
+ stream:
+ - 'master':
+ branch: master
+ functionality:
+ - 'fgps':
+ trigger_jobs: 'optf-fgps-master-docker-java-version-shell-daily'
+ robot-options: ''
+ branch: 'master'
diff --git a/jjb/optf/optf-fgps.yaml b/jjb/optf/optf-fgps.yaml
new file mode 100644
index 0000000..66bbdbd
--- /dev/null
+++ b/jjb/optf/optf-fgps.yaml
@@ -0,0 +1,88 @@
+---
+- project:
+ name: optf-fgps
+ project-name: 'optf-fgps'
+ project: 'optf/fgps'
+ stream:
+ - 'master':
+ branch: 'master'
+ mvn-settings: 'optf-fgps-settings'
+ subproject:
+ - 'valetapi':
+ path: 'valetapi'
+ pattern: 'valetapi/**'
+ pom: 'pom.xml'
+ jobs:
+ - '{project-name}-{stream}-{subproject}-verify-python'
+ - '{project-name}-{stream}-{subproject}-verify-java'
+ - '{project-name}-{stream}-verify-java'
+ - '{project-name}-{stream}-{subproject}-merge-java'
+ - gerrit-maven-stage:
+ sign-artifacts: true
+ build-node: centos7-docker-8c-8g
+ maven-versions-plugin: true
+ files: '**'
+ archive-artifacts: ''
+ build-node: 'ubuntu1604-builder-4c-4g'
+
+- project:
+ name: optf-fgps-docker
+ project-name: 'optf-fgps'
+ project: 'optf/fgps'
+ stream:
+ - 'master':
+ branch: 'master'
+ mvn-settings: 'optf-fgps-settings'
+ subproject:
+ - 'valetapi':
+ path: 'valetapi'
+ pattern: 'valetapi/**'
+ pom: 'pom.xml'
+ jobs:
+ - '{project-name}-{stream}-{subproject}-docker-java-version-shell-daily':
+ docker-pom: 'pom.xml'
+ mvn-goals: 'install'
+ mvn-params: '-Dmaven.test.skip=true'
+ script:
+ !include-raw-escape: 'build-optf-fgps-docker-image.sh'
+ build-node: queue-docker-4c-4g
+ - '{project-name}-{stream}-{subproject}-docker-java-shell-daily':
+ docker-pom: 'pom.xml'
+ mvn-goals: 'install'
+ mvn-params: '-Dmaven.test.skip=true'
+ script:
+ !include-raw-escape: 'build-optf-fgps-docker-image.sh'
+ build-node: queue-docker-4c-4g
+
+- project:
+ name: optf-fgps-sonar
+ jobs:
+ - gerrit-maven-sonar
+ cron: '@daily'
+ build-node: ubuntu1604-builder-4c-4g
+ project: 'optf/fgps'
+ project-name: 'optf-fgps'
+ branch: 'master'
+ mvn-settings: 'optf-fgps-settings'
+ mvn-goals: 'clean install'
+ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
+
+- project:
+ name: optf-fgps-clm
+ jobs:
+ - gerrit-maven-clm
+ nexus-iq-namespace: 'onap-'
+ project: optf/fgps
+ project-name: 'optf-fgps'
+ stream:
+ - 'master':
+ branch: 'master'
+ mvn-settings: 'optf-fgps-settings'
+
+- project:
+ name: optf-fgps-info
+ project-name: optf-fgps
+ jobs:
+ - gerrit-info-yaml-verify
+ project: optf/fgps
+ branch: master