X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fparser%2Fparser.yml;h=7f3d6cebe1b2046ea9ea4d4f8d26270a4d3691ca;hb=f8cb08dda6e416e7576cd3dbeaa154463a83a12d;hp=1df8b2fc653f909d7aa15f468bd120ba859faf00;hpb=4163f6bfb811c17dc22e68c7a2ef1ed30293feaf;p=releng.git diff --git a/jjb/parser/parser.yml b/jjb/parser/parser.yml index 1df8b2fc6..7f3d6cebe 100644 --- a/jjb/parser/parser.yml +++ b/jjb/parser/parser.yml @@ -10,40 +10,33 @@ jobs: - 'parser-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: &parser_job_defaults - name: parser_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: 'parser-verify-{stream}' - <<: *parser_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,25 @@ project-pattern: '{project}' branches: - branch-compare-type: 'ANT' - branch-pattern: '**/{stream}' + branch-pattern: '**/{branch}' forbidden-file-paths: - compare-type: ANT - pattern: 'docs/**|.gitignore' + pattern: 'docs/**' + - compare-type: ANT + pattern: 'governance/**' + - compare-type: ANT + pattern: '*.txt|.gitignore|.gitreview|INFO|LICENSE' builders: - shell: | - echo "Nothing to verify!" + #!/bin/bash + set -o errexit + set -o pipefail + set -o xtrace + export PATH=$PATH:/usr/local/bin/ + + # ut and pep8 check parser/tosca2heat + echo "Running tox on tosca2heat/tosca-parser ..." + cd $WORKSPACE/tosca2heat/tosca-parser && tox + echo "Running tox on tosca2heat/heat-translator ..." + cd $WORKSPACE/tosca2heat/heat-translator && tox