summaryrefslogtreecommitdiffstats
path: root/jjb/functest/functest.yml
diff options
context:
space:
mode:
authorchenshuai <chenshuai@huawei.com>2015-06-16 16:15:02 +0800
committerchenshuai <chenshuai@huawei.com>2015-06-17 17:37:31 +0800
commit2aaf21db4555563933637d665223669373aa47dd (patch)
tree3185a3f67f5a8c5da5c28b4dd2484f7907a3e894 /jjb/functest/functest.yml
parenta534ba6b8de490ec9cd67f089cb5c80002132a50 (diff)
Create daily jenkins jobs for functest for stable/arno
JIRA: OCTO-96 Change-Id: Ib5f224575fc4fb0db953bdfe7f0c12fe95fcebe5 Signed-off-by: chenshuai <chenshuai@huawei.com>
Diffstat (limited to 'jjb/functest/functest.yml')
-rw-r--r--jjb/functest/functest.yml42
1 files changed, 35 insertions, 7 deletions
diff --git a/jjb/functest/functest.yml b/jjb/functest/functest.yml
index fb9f5a6c2..9412bc2a0 100644
--- a/jjb/functest/functest.yml
+++ b/jjb/functest/functest.yml
@@ -16,7 +16,7 @@
- 'functest-odl-test-{pod}'
- 'functest-vims-test-{pod}'
- 'functest-vping-test-{pod}'
- - 'functest-daily-master'
+ - 'functest-daily-{stream}'
- 'functest-merge'
- 'functest-verify-{stream}'
@@ -25,8 +25,10 @@
stream:
- master:
branch: 'master'
+ gs-pathname: ''
- stable-arno:
branch: 'stable/arno'
+ gs-pathname: '/arno'
project: 'functest'
somevar: 'foo'
@@ -226,7 +228,7 @@
- 'functest-all'
- job-template:
- name: 'functest-daily-master'
+ name: 'functest-daily-{stream}'
node: master
@@ -248,26 +250,28 @@
parameters:
- project-parameter:
project: '{project}'
+ - functest-parameter:
+ gs-pathname: '{gs-pathname}'
scm:
- git-scm:
credentials-id: '{ssh-credentials}'
refspec: ''
- branch: master
+ branch: '{stream}'
wrappers:
- ssh-agent-credentials:
user: '{ssh-credentials}'
triggers:
- - timed: 'H H * * *'
+ - 'functest-{stream}'
prebuilders:
- test-macro
builders:
- shell:
- !include-raw docu-build.sh
+ !include-raw ../opnfvdocs/docu-build.sh
postbuilders:
- test-macro
@@ -321,7 +325,7 @@
builders:
- shell:
- !include-raw docu-build.sh
+ !include-raw ../opnfvdocs/docu-build.sh
- job-template:
name: 'functest-merge'
@@ -371,7 +375,31 @@
builders:
- shell:
- !include-raw docu-build.sh
+ !include-raw ../opnfvdocs/docu-build.sh
+
+########################
+# parameter macros
+########################
+- parameter:
+ name: functest-parameter
+ parameters:
+ - string:
+ name: GS_PATHNAME
+ default: '{gs-pathname}'
+ description: "Version directory where the opnfv documents will be stored in gs repository"
+
+########################
+# trigger macros
+########################
+- trigger:
+ name: 'functest-master'
+ triggers:
+ - pollscm: "H 9 * * *"
+
+- trigger:
+ name: 'functest-stable-arno'
+ triggers:
+ - pollscm: "H 21 * * *"
# macros
- builder: