X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fvnf_forwarding_graph%2Fvnf_forwarding_graph.yml;h=0123fcdf9da139a30a96c1db48597ee74791d973;hb=7d07e223f5a5ff18de1bc83377b7be345a2ef01f;hp=01e2691f6db6e5bde0a2d7cb8da9737282485caf;hpb=2d371b271dd95913d46b1a2f179a71a69c548515;p=releng.git diff --git a/jjb/vnf_forwarding_graph/vnf_forwarding_graph.yml b/jjb/vnf_forwarding_graph/vnf_forwarding_graph.yml index 01e2691f6..0123fcdf9 100644 --- a/jjb/vnf_forwarding_graph/vnf_forwarding_graph.yml +++ b/jjb/vnf_forwarding_graph/vnf_forwarding_graph.yml @@ -1,66 +1,52 @@ - project: name: vnf_forwarding_graph + + project: '{name}' + jobs: - - 'vnf_forwarding_graph-test' - - 'vnf_forwarding_graph-daily-master' + - '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' + branch: '{stream}' + gs-pathname: '' + - brahmaputra: + branch: 'stable/{stream}' + gs-pathname: '/{stream}' - job-template: - name: vnf_forwarding_graph-test - - project-type: freestyle - - logrotate: - daysToKeep: 30 - numToKeep: 10 - artifactDaysToKeep: -1 - artifactNumToKeep: -1 - - builders: - - shell: | - echo "Hello world from vnf_forwarding_graph" - -- job-template: - name: 'vnf_forwarding_graph-daily-master' - - # Job template for daily builders - # - # Required Variables: - # stream: branch with - in place of / (eg. stable) - # branch: branch (eg. stable) - - project-type: freestyle - varsetabove: '{somevar}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - wrappers: - - ssh-agent-credentials: - user: '{ssh-credentials}' + name: 'vnf_forwarding_graph-verify-{stream}' + + parameters: + - project-parameter: + project: '{project}' + - gerrit-parameter: + branch: '{branch}' + scm: + - gerrit-trigger-scm: + credentials-id: '{ssh-credentials}' + refspec: '$GERRIT_REFSPEC' + choosing-strategy: 'gerrit' triggers: - - timed: 'H H * * *' - - prebuilders: - - test-macro + - 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: '**/{branch}' builders: - shell: | - echo "Hello world from vnf_forwarding_graph {somevar} daily" - - test-macro - - postbuilders: - - test-macro - + echo "Nothing to verify!"