summaryrefslogtreecommitdiffstats
path: root/jjb/vfc
diff options
context:
space:
mode:
authorfujinhua <fu.jinhua@zte.com.cn>2018-08-04 14:43:31 +0800
committerfujinhua <fu.jinhua@zte.com.cn>2018-08-04 14:43:31 +0800
commit894a97e8e148a5cc5232a039a6b37d8cc7fd8302 (patch)
tree2fac069a9493b4cfa283662e458620db4060d4ba /jjb/vfc
parent23b51c1c51014b97b9ee5c6728e250ef2353735b (diff)
Add vfc-nfvo-db yaml templete
Add jenkins jobs for vfc-nfvo-db Change-Id: I4763a8c5ca72bab4b18271e00f99a21c837777b2 Issue-ID: CIMAN-186 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
Diffstat (limited to 'jjb/vfc')
-rwxr-xr-xjjb/vfc/build-nfvo-db-docker-image.sh10
-rw-r--r--jjb/vfc/vfc-nfvo-db.yaml33
2 files changed, 43 insertions, 0 deletions
diff --git a/jjb/vfc/build-nfvo-db-docker-image.sh b/jjb/vfc/build-nfvo-db-docker-image.sh
new file mode 100755
index 000000000..99eab5db6
--- /dev/null
+++ b/jjb/vfc/build-nfvo-db-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/vfc/vfc-nfvo-db.yaml b/jjb/vfc/vfc-nfvo-db.yaml
new file mode 100644
index 000000000..32d13333a
--- /dev/null
+++ b/jjb/vfc/vfc-nfvo-db.yaml
@@ -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'