summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthewLi <matthew.lijun@huawei.com>2015-06-08 16:27:46 +0800
committerMatthewLi <matthew.lijun@huawei.com>2015-06-08 19:55:31 +0800
commit88032532c10bcf93f16f5c3489d7bf8a7544cbf2 (patch)
tree71f0b37eda1145b90e0046d79255ecb37fe13016
parentf8fb0156c414f11dc3cb7ced4b51517dd86f4ac1 (diff)
modify verify jobs for octopus for master and stable/arno
JIRA: OCTO-80 modify verify job first Change-Id: I483d079039dfe8976ea0f6491b46b52db147d5ea Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
-rw-r--r--jjb/octopus/octopus.yml26
1 files changed, 17 insertions, 9 deletions
diff --git a/jjb/octopus/octopus.yml b/jjb/octopus/octopus.yml
index db35515c9..b89912c65 100644
--- a/jjb/octopus/octopus.yml
+++ b/jjb/octopus/octopus.yml
@@ -1,19 +1,27 @@
+################################
+# job configuration for Octopus
+################################
- project:
name: octopus
jobs:
- 'octopus-test'
- - 'octopus-daily-{stream}'
+ - 'octopus-daily-master'
- 'octopus-merge'
- - 'octopus-verify'
+ - 'octopus-verify-{stream}'
- # stream: branch with - in place of / (eg. stable-helium)
- # branch: branch (eg. stable/helium)
+ # stream: branch with - in place of / (eg. stable-arno)
+ # branch: branch (eg. stable/arno)
stream:
- master:
branch: 'master'
+ - stable-arno:
+ branch: 'stable/arno'
project: 'octopus'
somevar: 'foo'
+###############################
+# job templates
+###############################
- job-template:
name: octopus-test
@@ -31,7 +39,7 @@
echo "Hello world from octopus"
- job-template:
- name: 'octopus-daily-{stream}'
+ name: 'octopus-daily-master'
node: master
@@ -58,7 +66,7 @@
- git-scm:
credentials-id: '{ssh-credentials}'
refspec: ''
- branch: '{branch}'
+ branch: master
wrappers:
- ssh-agent-credentials:
@@ -78,7 +86,7 @@
- test-macro
- job-template:
- name: 'octopus-verify'
+ name: 'octopus-verify-{stream}'
node: master
@@ -94,7 +102,7 @@
- project-parameter:
project: '{project}'
- gerrit-parameter:
- branch: 'master'
+ branch: '{branch}'
scm:
- gerrit-trigger-scm:
credentials-id: '{ssh-credentials}'
@@ -122,7 +130,7 @@
project-pattern: 'octopus'
branches:
- branch-compare-type: 'ANT'
- branch-pattern: '**/master'
+ branch-pattern: '**/{branch}'
builders:
- shell: