X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fcopper%2Fcopper.yml;h=d06afe4c0274165529ece64cf355b73334a2593f;hb=e34f5a8852f9c7b6d83b44c642e534b42df12cd9;hp=654b6f02abb947607753d8e2b297fd80633b6597;hpb=4163f6bfb811c17dc22e68c7a2ef1ed30293feaf;p=releng.git diff --git a/jjb/copper/copper.yml b/jjb/copper/copper.yml index 654b6f02a..d06afe4c0 100644 --- a/jjb/copper/copper.yml +++ b/jjb/copper/copper.yml @@ -10,40 +10,33 @@ jobs: - 'copper-verify-{stream}' -# only master branch is enabled at the moment to keep no of jobs sane stream: - master: - branch: 'master' - gs-pathname: '' -# - stable-brahmaputra: -# branch: 'stable/brahmaputra' -# gs-pathname: '/brahmaputra' - -- job_defaults: &copper_job_defaults - name: copper_job_defaults - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameter: branch: '{stream}' + gs-pathname: '' + disabled: false + - danube: + branch: 'stable/{stream}' + gs-pathname: '/{stream}' + disabled: false - job-template: name: 'copper-verify-{stream}' - <<: *copper_job_defaults + disabled: '{obj:disabled}' parameters: - - 'opnfv-build-defaults' + - project-parameter: + project: '{project}' + branch: '{branch}' + - 'opnfv-build-ubuntu-defaults' scm: - - gerrit-trigger-scm: - credentials-id: '{ssh-credentials}' - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' + - git-scm-gerrit triggers: - gerrit: + server-name: 'gerrit.opnfv.org' trigger-on: - patchset-created-event: exclude-drafts: 'false' @@ -59,11 +52,17 @@ project-pattern: '{project}' branches: - branch-compare-type: 'ANT' - branch-pattern: '**/{stream}' + branch-pattern: '**/{branch}' + disable-strict-forbidden-file-verification: 'true' forbidden-file-paths: - compare-type: ANT pattern: 'docs/**|.gitignore' builders: - shell: | - echo "Nothing to verify!" + #!/bin/bash + set -o errexit + set -o nounset + set -o pipefail + + # shellcheck -f tty tests/*.sh