summaryrefslogtreecommitdiffstats
path: root/jjb/vnf_forwarding_graph
diff options
context:
space:
mode:
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>2016-01-07 13:13:35 +0100
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>2016-01-07 16:28:01 +0000
commit3a2318e55dd35074c069b9ef9089fec7a138a88a (patch)
tree83505b368ed4378f9c79fb0e734373483c634c20 /jjb/vnf_forwarding_graph
parent75788714eef4a64f3119f855711c75165db5952a (diff)
Enable verify and merge jobs for stable/brahmaputra branch
Change-Id: I5f811a0db6c1725e02b3bfd51d8c7c21b12633a2 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Diffstat (limited to 'jjb/vnf_forwarding_graph')
-rw-r--r--jjb/vnf_forwarding_graph/vnf_forwarding_graph.yml113
1 files changed, 14 insertions, 99 deletions
diff --git a/jjb/vnf_forwarding_graph/vnf_forwarding_graph.yml b/jjb/vnf_forwarding_graph/vnf_forwarding_graph.yml
index de63c4eeb..0123fcdf9 100644
--- a/jjb/vnf_forwarding_graph/vnf_forwarding_graph.yml
+++ b/jjb/vnf_forwarding_graph/vnf_forwarding_graph.yml
@@ -1,71 +1,27 @@
- project:
name: vnf_forwarding_graph
+
+ project: '{name}'
+
jobs:
- - 'vnf_forwarding_graph-test'
- - 'vnf_forwarding_graph-daily-{stream}'
- - 'vnf_forwarding_graph-merge'
- - 'vnf_forwarding_graph-verify'
+ - 'vnf_forwarding_graph-verify-{stream}'
- # stream: branch with - in place of / (eg. stable-helium)
- # branch: branch (eg. stable/helium)
stream:
- master:
- branch: 'master'
-
- project: 'vnf_forwarding_graph'
- somevar: 'foo'
-
-- job-template:
- name: vnf_forwarding_graph-test
-
- builders:
- - shell: |
- echo "Hello world from vnf_forwarding_graph"
-
-- job-template:
- name: 'vnf_forwarding_graph-daily-{stream}'
-
- # Job template for daily builders
- #
- # Required Variables:
- # stream: branch with - in place of / (eg. stable)
- # branch: branch (eg. stable)
-
- varsetabove: '{somevar}'
-
- parameters:
- - project-parameter:
- project: '{project}'
-
- scm:
- - git-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- branch: '{branch}'
-
- triggers:
- - timed: 'H H * * *'
-
- prebuilders:
- - test-macro
-
- builders:
- - shell: |
- pwd
- find .
- echo "Hello world from vnf_forwarding_graph {somevar} daily"
-
- postbuilders:
- - test-macro
+ branch: '{stream}'
+ gs-pathname: ''
+ - brahmaputra:
+ branch: 'stable/{stream}'
+ gs-pathname: '/{stream}'
- job-template:
- name: 'vnf_forwarding_graph-verify'
+ name: 'vnf_forwarding_graph-verify-{stream}'
parameters:
- project-parameter:
project: '{project}'
- gerrit-parameter:
- branch: 'master'
+ branch: '{branch}'
scm:
- gerrit-trigger-scm:
credentials-id: '{ssh-credentials}'
@@ -86,52 +42,11 @@
comment-contains-value: 'reverify'
projects:
- project-compare-type: 'ANT'
- project-pattern: 'vnf_forwarding_graph'
+ project-pattern: '{project}'
branches:
- branch-compare-type: 'ANT'
- branch-pattern: '**/master'
-
- builders:
- - shell: |
- pwd
- find .
- echo "verify logic goes here"
-
-- job-template:
- name: 'vnf_forwarding_graph-merge'
-
- # builder-merge job to run JJB update
- #
- # This job's purpose is to update all the JJB
-
- parameters:
- - project-parameter:
- project: '{project}'
- - gerrit-parameter:
- branch: 'master'
-
- scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- choosing-strategy: 'default'
-
- triggers:
- - gerrit:
- trigger-on:
- - change-merged-event
- - comment-added-contains-event:
- comment-contains-value: 'remerge'
- projects:
- - project-compare-type: 'ANT'
- project-pattern: 'vnf_forwarding_graph'
- branches:
- - branch-compare-type: 'ANT'
- branch-pattern: '**/master'
+ branch-pattern: '**/{branch}'
builders:
- shell: |
- pwd
- find .
- echo "merge logic goes here"
-
+ echo "Nothing to verify!"