Add vfc-nfvo-db yaml templete 13/59013/1
authorfujinhua <fu.jinhua@zte.com.cn>
Sat, 4 Aug 2018 06:43:31 +0000 (14:43 +0800)
committerfujinhua <fu.jinhua@zte.com.cn>
Sat, 4 Aug 2018 06:43:31 +0000 (14:43 +0800)
Add jenkins jobs for vfc-nfvo-db

Change-Id: I4763a8c5ca72bab4b18271e00f99a21c837777b2
Issue-ID: CIMAN-186
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
jjb/vfc/build-nfvo-db-docker-image.sh [new file with mode: 0755]
jjb/vfc/vfc-nfvo-db.yaml [new file with mode: 0644]

diff --git a/jjb/vfc/build-nfvo-db-docker-image.sh b/jjb/vfc/build-nfvo-db-docker-image.sh
new file mode 100755 (executable)
index 0000000..99eab5d
--- /dev/null
@@ -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/vfc/vfc-nfvo-db.yaml b/jjb/vfc/vfc-nfvo-db.yaml
new file mode 100644 (file)
index 0000000..32d1333
--- /dev/null
@@ -0,0 +1,33 @@
+---
+- project:
+    name: vfc-nfvo-db
+    project: 'vfc/nfvo/db'
+    project-name: 'vfc-nfvo-db'
+    mvn-settings: 'vfc-nfvo-db-settings'
+    stream:
+      - 'master':
+          branch: 'master'
+    build-node: ubuntu1604-builder-4c-4g
+    jobs:
+      - gerrit-maven-clm
+      - '{project-name}-{stream}-verify-java'
+      - '{project-name}-{stream}-merge-java'
+      - '{project-name}-{stream}-release-version-java-daily'
+      - '{project-name}-{stream}-docker-java-version-shell-daily':
+          docker-pom: 'pom.xml'
+          mvn-goals: 'install'
+          script:
+            !include-raw-escape: 'build-nfvo-db-docker-image.sh'
+
+- project:
+    name: vfc-nfvo-db-sonar
+    jobs:
+      - gerrit-maven-sonar
+    cron: 'H 11 * * *'
+    build-node: ubuntu1604-builder-4c-4g
+    project: 'vfc/nfvo/db'
+    project-name: 'vfc-nfvo-db'
+    branch: 'master'
+    mvn-settings: 'vfc-nfvo-db-settings'
+    mvn-goals: 'clean install'
+    mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'