From 2912394a97bcff4219b1428df886874a36db4f32 Mon Sep 17 00:00:00 2001 From: "RamaPrasad Amaranarayana (ra5425)" Date: Mon, 1 Oct 2018 16:31:31 -0400 Subject: 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) --- jjb/optf/build-optf-cmso-docker-image.sh | 10 +++++ jjb/optf/optf-cmso-csit.yaml | 15 ++++++++ jjb/optf/optf-cmso.yaml | 64 ++++++++++++++++++++++++++++++++ 3 files changed, 89 insertions(+) create mode 100644 jjb/optf/build-optf-cmso-docker-image.sh create mode 100644 jjb/optf/optf-cmso-csit.yaml create mode 100644 jjb/optf/optf-cmso.yaml 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 000000000..7bfa07893 --- /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 000000000..b655a6752 --- /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 000000000..e6ef1f980 --- /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' -- cgit 1.2.3-korg