summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorm00133142 <meimei@huawei.com>2015-09-08 09:58:57 +0800
committerm00133142 <meimei@huawei.com>2015-09-08 10:16:17 +0800
commit412be7459ab7731effcb94fb8e5d69846b097320 (patch)
treeeb69a376993a3d2344e98305e56837e8f333b4e9
parentf0c991c665f57b2344a6b8ed23ff62d44612fc19 (diff)
add verify job running on the node if ericsson-build
JIRA: COMPASS-13 Change-Id: Idc8c1d070755329c1ac269e9f807f512afba91a4 Signed-off-by: m00133142 <meimei@huawei.com>
-rwxr-xr-xjjb/compass4nfv/compass4nfv.yml57
1 files changed, 57 insertions, 0 deletions
diff --git a/jjb/compass4nfv/compass4nfv.yml b/jjb/compass4nfv/compass4nfv.yml
index af1b43ccf..5b6336681 100755
--- a/jjb/compass4nfv/compass4nfv.yml
+++ b/jjb/compass4nfv/compass4nfv.yml
@@ -7,6 +7,7 @@
jobs:
- 'compass-verify'
+ - 'compass-verify-on-ericsson-node'
- 'compass-upload-iso'
- 'compass-merge'
- 'compass-daily-{stream}'
@@ -62,6 +63,62 @@
- 'compass-upload-artifact'
- job-template:
+ name: 'compass-verify-on-ericsson-node'
+
+ project-type: freestyle
+
+ disabled: false
+
+ node: ericsson-build
+
+ logrotate:
+ daysToKeep: 30
+ numToKeep: 10
+ artifactDaysToKeep: -1
+ artifactNumToKeep: -1
+
+ parameters:
+ - project-parameter:
+ project: '{project}'
+ - gerrit-parameter:
+ branch: 'master'
+ - compass-parameter:
+ installer: '{installer}'
+
+ scm:
+ - gerrit-trigger-scm:
+ credentials-id: '{ssh-credentials}'
+ refspec: '$GERRIT_REFSPEC'
+ choosing-strategy: 'gerrit'
+
+ wrappers:
+ - ssh-agent-credentials:
+ user: '{ssh-credentials}'
+
+ triggers:
+ - gerrit:
+ trigger-on:
+ - patchset-created-event:
+ exclude-drafts: 'false'
+ exclude-trivial-rebase: 'false'
+ exclude-no-code-change: 'false'
+ - draft-published-event
+ - comment-added-contains-event:
+ comment-contains-value: 'recheck'
+ - comment-added-contains-event:
+ comment-contains-value: 'reverify'
+ projects:
+ - project-compare-type: 'ANT'
+ project-pattern: '{project}'
+ branches:
+ - branch-compare-type: 'ANT'
+ branch-pattern: '**/master'
+
+ builders:
+ - 'compass-build'
+
+
+- job-template:
name: 'compass-verify'
project-type: freestyle