X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fcopper%2Fcopper.yml;h=fc27d9cd6c6b116ba725a0ecb403f9dfb913fdd0;hb=c44f96b50c89933c3fed3609d6b69fc9322c5818;hp=47651b2e9679fd20dd3d1a7061a6b20aea92e526;hpb=a3eda1ce7953fc80ecf07905c2e551893b6ffc10;p=releng.git diff --git a/jjb/copper/copper.yml b/jjb/copper/copper.yml index 47651b2e9..fc27d9cd6 100644 --- a/jjb/copper/copper.yml +++ b/jjb/copper/copper.yml @@ -1,26 +1,62 @@ +################################################### +# All the jobs except verify have been removed! +# They will only be enabled on request by projects! +################################################### - project: name: copper + + project: '{name}' + jobs: - - 'copper-test' + - 'copper-verify-{stream}' - # stream: branch with - in place of / (eg. stable-helium) - # branch: branch (eg. stable/helium) +# only master branch is enabled at the moment to keep no of jobs sane stream: - master: branch: 'master' - - project: 'copper' - somevar: 'foo' + gs-pathname: '' +# - brahmaputra: +# branch: 'stable/brahmaputra' +# gs-pathname: '/brahmaputra' - job-template: - name: copper-test + name: 'copper-verify-{stream}' + + parameters: + - project-parameter: + project: '{project}' + - gerrit-parameter: + branch: '{branch}' + - 'opnfv-build-defaults' + + scm: + - gerrit-trigger-scm: + credentials-id: '{ssh-credentials}' + refspec: '$GERRIT_REFSPEC' + choosing-strategy: 'gerrit' - logrotate: - daysToKeep: 30 - numToKeep: 10 - artifactDaysToKeep: -1 - artifactNumToKeep: -1 + 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: '**/{branch}' + forbidden-file-paths: + - compare-type: ANT + pattern: 'docs/**|.gitignore' builders: - shell: | - echo "Hello world from copper" + echo "Nothing to verify!"