Change Management Schedule Optimization
Adding Jenkins scripts for Change Management Schedule Optimization
Change-Id: I0b97ad2f6d3c4ad44ce69dab7d2588205b8f2741
Issue-ID: OPTFRA-360
Signed-off-by: RamaPrasad Amaranarayana (ra5425) <ra5425@att.com>
diff --git a/jjb/optf/build-optf-cmso-docker-image.sh b/jjb/optf/build-optf-cmso-docker-image.sh
new file mode 100644
index 0000000..7bfa078
--- /dev/null
+++ b/jjb/optf/build-optf-cmso-docker-image.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+#
+echo '============== CALLING SCRIPT TO BUILD DOCKER IMAGES ================='
+
+CURRENTDIR="$(pwd)"
+echo $CURRENTDIR
+
+chmod 755 ./docker/*.*
+
+./docker/build_image.sh
diff --git a/jjb/optf/optf-cmso-csit.yaml b/jjb/optf/optf-cmso-csit.yaml
new file mode 100644
index 0000000..b655a67
--- /dev/null
+++ b/jjb/optf/optf-cmso-csit.yaml
@@ -0,0 +1,15 @@
+---
+- project:
+ name: optf-cmso-csit
+ jobs:
+ - '{project-name}-{stream}-verify-csit-{functionality}'
+ - '{project-name}-{stream}-csit-{functionality}'
+ project-name: 'optf-cmso'
+ stream:
+ - 'master':
+ branch: master
+ functionality:
+ - 'cmso':
+ trigger_jobs: 'optf-cmso-master-docker-java-version-shell-daily'
+ robot-options: ''
+ branch: 'master'
diff --git a/jjb/optf/optf-cmso.yaml b/jjb/optf/optf-cmso.yaml
new file mode 100644
index 0000000..e6ef1f9
--- /dev/null
+++ b/jjb/optf/optf-cmso.yaml
@@ -0,0 +1,64 @@
+---
+- project:
+ name: optf-cmso
+ project-name: 'optf-cmso'
+ project: 'optf/cmso'
+ stream:
+ - 'master':
+ branch: 'master'
+ mvn-settings: 'optf-cmso-settings'
+ subproject:
+ - 'cmso':
+ path: '.'
+ pattern: '**'
+ pom: 'pom.xml'
+ jobs:
+ - gerrit-maven-clm
+ - '{project-name}-{stream}-{subproject}-verify-java'
+ - '{project-name}-{stream}-{subproject}-merge-java'
+ - '{project-name}-{stream}-{subproject}-release-version-java-daily'
+ files: '**'
+ archive-artifacts: ''
+ build-node: 'ubuntu1604-builder-4c-4g'
+
+- project:
+ name: optf-cmso-docker
+ project-name: 'optf-cmso'
+ project: 'optf/cmso'
+ stream:
+ - 'master':
+ branch: 'master'
+ mvn-settings: 'optf-cmso-settings'
+ subproject:
+ - 'cmso':
+ path: '.'
+ pattern: '**'
+ 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-cmso-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-cmso-docker-image.sh'
+ build-node: queue-docker-4c-4g
+
+- project:
+ name: optf-cmso-sonar
+ jobs:
+ - gerrit-maven-sonar
+ cron: 'H 11 * * *'
+ build-node: ubuntu1604-builder-4c-4g
+ project: 'optf/cmso'
+ project-name: 'optf-cmso'
+ branch: 'master'
+ mvn-settings: 'optf-cmso-settings'
+ mvn-goals: 'clean install'
+ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'