summaryrefslogtreecommitdiffstats
path: root/jjb/vfc
diff options
context:
space:
mode:
authorying.yunlong <ying.yunlong@zte.com.cn>2017-09-06 13:56:17 +0800
committerying.yunlong <ying.yunlong@zte.com.cn>2017-09-06 14:14:01 +0800
commit4505c3038d4d4a97633d2bce9bb42c30745624da (patch)
treef923ce4285ccf2b8c66c822298a4c1e8b3805fba /jjb/vfc
parentd5af6bc81d5d7184c53657d3fb4f6778b467b5e3 (diff)
Merge svnfm docker build Job
Because the job template does not support subproject, ZTE and Huawei's driver Docker job names are the same, so need to be merged into a job Change-Id: I363565aeffbfb3a4a51f56cc3c761ab6f2a27802 Issue-ID: CIMAN-59 Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
Diffstat (limited to 'jjb/vfc')
-rwxr-xr-xjjb/vfc/build-driver-svnfm-zte-docker-image.sh11
-rwxr-xr-xjjb/vfc/build-nfvo-svnfm-driver-docker-image.sh (renamed from jjb/vfc/build-svnfm-huawei-docker-image.sh)5
-rw-r--r--jjb/vfc/vfc-nfvo-driver-svnfm-huawei.yaml5
-rw-r--r--jjb/vfc/vfc-nfvo-driver-vnfm-svnfm-docker-java.yaml19
-rw-r--r--jjb/vfc/vfc-nfvo-driver-vnfm-svnfm-zte-java.yaml5
5 files changed, 22 insertions, 23 deletions
diff --git a/jjb/vfc/build-driver-svnfm-zte-docker-image.sh b/jjb/vfc/build-driver-svnfm-zte-docker-image.sh
deleted file mode 100755
index fbc6756a8..000000000
--- a/jjb/vfc/build-driver-svnfm-zte-docker-image.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/bash
-#
-echo '============== CALLING SCRIPT TO BUILD DOCKER IMAGES ================='
-
-CURRENTDIR="$(pwd)"
-echo $CURRENTDIR
-
-chmod 755 ./zte/vmanager/docker/*.*
-
-./zte/vmanager/docker/build_image.sh
-
diff --git a/jjb/vfc/build-svnfm-huawei-docker-image.sh b/jjb/vfc/build-nfvo-svnfm-driver-docker-image.sh
index 964043019..417082b98 100755
--- a/jjb/vfc/build-svnfm-huawei-docker-image.sh
+++ b/jjb/vfc/build-nfvo-svnfm-driver-docker-image.sh
@@ -5,7 +5,8 @@ echo '============== CALLING SCRIPT TO BUILD DOCKER IMAGES ================='
CURRENTDIR="$(pwd)"
echo $CURRENTDIR
-chmod 755 ./VnfmadapterService/docker/*.*
+chmod 755 ./zte/vmanager/docker/*.*
+./zte/vmanager/docker/build_image.sh
+chmod 755 ./VnfmadapterService/docker/*.*
./VnfmadapterService/docker/build_image.sh
-
diff --git a/jjb/vfc/vfc-nfvo-driver-svnfm-huawei.yaml b/jjb/vfc/vfc-nfvo-driver-svnfm-huawei.yaml
index 36632508c..db40e10c8 100644
--- a/jjb/vfc/vfc-nfvo-driver-svnfm-huawei.yaml
+++ b/jjb/vfc/vfc-nfvo-driver-svnfm-huawei.yaml
@@ -15,11 +15,6 @@
- '{project-name}-{stream}-{subproject}-verify-java'
- '{project-name}-{stream}-{subproject}-merge-java'
- '{project-name}-{stream}-{subproject}-release-java-daily'
- - '{project-name}-{stream}-docker-java-version-shell-daily':
- docker-pom: 'huawei/vnfmadapter/pom.xml'
- mvn-goals: 'install'
- script:
- !include-raw-escape: 'build-svnfm-huawei-docker-image.sh'
files: '**'
archive-artifacts: ''
build-node: ubuntu1604-basebuild-4c-4g
diff --git a/jjb/vfc/vfc-nfvo-driver-vnfm-svnfm-docker-java.yaml b/jjb/vfc/vfc-nfvo-driver-vnfm-svnfm-docker-java.yaml
new file mode 100644
index 000000000..8698735ff
--- /dev/null
+++ b/jjb/vfc/vfc-nfvo-driver-vnfm-svnfm-docker-java.yaml
@@ -0,0 +1,19 @@
+---
+
+- project:
+ name: vfc-nfvo-driver-vnfm-svnfm-docker
+ project-name: 'vfc-nfvo-driver-vnfm-svnfm'
+ project: 'vfc/nfvo/driver/vnfm/svnfm'
+ stream:
+ - 'master':
+ branch: 'master'
+ mvn-settings: 'vfc-nfvo-driver-vnfm-svnfm-settings'
+ jobs:
+ - '{project-name}-{stream}-docker-java-version-shell-daily':
+ docker-pom: 'pom.xml'
+ mvn-goals: 'install'
+ script:
+ !include-raw-escape: 'build-nfvo-svnfm-driver-docker-image.sh'
+ files: '**'
+ archive-artifacts: ''
+ build-node: ubuntu1604-basebuild-4c-4g \ No newline at end of file
diff --git a/jjb/vfc/vfc-nfvo-driver-vnfm-svnfm-zte-java.yaml b/jjb/vfc/vfc-nfvo-driver-vnfm-svnfm-zte-java.yaml
index c295f25fe..23a611774 100644
--- a/jjb/vfc/vfc-nfvo-driver-vnfm-svnfm-zte-java.yaml
+++ b/jjb/vfc/vfc-nfvo-driver-vnfm-svnfm-zte-java.yaml
@@ -15,11 +15,6 @@
jobs:
- '{project-name}-{stream}-{subproject}-verify-java'
- '{project-name}-{stream}-{subproject}-merge-java'
- - '{project-name}-{stream}-docker-java-version-shell-daily':
- docker-pom: 'pom.xml'
- mvn-goals: 'install'
- script:
- !include-raw-escape: 'build-driver-svnfm-zte-docker-image.sh'
files: '**'
archive-artifacts: ''
build-node: ubuntu1604-basebuild-4c-4g \ No newline at end of file