X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fcopper%2Fcopper.yml;h=c85725b47dcb7c91b4ea4f421cc679bec83ce4d1;hb=fdbb13462e85aefb8f7176e2e61256eda7058b8e;hp=47651b2e9679fd20dd3d1a7061a6b20aea92e526;hpb=1f175b394903621761454afa49e4cd942b9a5948;p=releng.git diff --git a/jjb/copper/copper.yml b/jjb/copper/copper.yml index 47651b2e9..c85725b47 100644 --- a/jjb/copper/copper.yml +++ b/jjb/copper/copper.yml @@ -1,26 +1,69 @@ +--- +################################################### +# 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) stream: - - master: - branch: 'master' - - project: 'copper' - somevar: 'foo' + - master: + branch: '{stream}' + gs-pathname: '' + disabled: false + - danube: + branch: 'stable/{stream}' + gs-pathname: '/{stream}' + disabled: false - job-template: - name: copper-test + name: 'copper-verify-{stream}' + + disabled: '{obj:disabled}' - logrotate: - daysToKeep: 30 - numToKeep: 10 - artifactDaysToKeep: -1 - artifactNumToKeep: -1 + parameters: + - project-parameter: + project: '{project}' + branch: '{branch}' + - 'opnfv-build-ubuntu-defaults' + + scm: + - git-scm-gerrit + + triggers: + - gerrit: + server-name: 'gerrit.opnfv.org' + 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}' + disable-strict-forbidden-file-verification: 'true' + forbidden-file-paths: + - compare-type: ANT + pattern: 'docs/**|.gitignore' builders: - - shell: | - echo "Hello world from copper" + - shell: | + #!/bin/bash + set -o errexit + set -o nounset + set -o pipefail + + # shellcheck -f tty tests/*.sh