X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fcopper%2Fcopper.yml;h=d9ac0b85aa272e39390968018bb2f0705d8bbe4e;hb=5ec8f63f0d6c2980f3ebe27572e1a3ad7e16a824;hp=47651b2e9679fd20dd3d1a7061a6b20aea92e526;hpb=a3eda1ce7953fc80ecf07905c2e551893b6ffc10;p=releng.git diff --git a/jjb/copper/copper.yml b/jjb/copper/copper.yml index 47651b2e9..d9ac0b85a 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 + - euphrates: + 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