X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fglobal%2Freleng-macros.yaml;h=6c37bbbd92fa30f536be0b0500757059d38bced3;hb=c4730a0a8689c8eb5f8606ddebb4aa44e722f77a;hp=d2da7f625a25bc0c335456cca6b071e4d1c83bae;hpb=3b5a3df47ff8d7580ec2df5f0a6b0cd2bd29cf02;p=releng.git diff --git a/jjb/global/releng-macros.yaml b/jjb/global/releng-macros.yaml index d2da7f625..6c37bbbd9 100644 --- a/jjb/global/releng-macros.yaml +++ b/jjb/global/releng-macros.yaml @@ -199,6 +199,32 @@ unstable: false notbuilt: false +- trigger: + name: gerrit-trigger-patchset-approved + triggers: + - gerrit: + server-name: 'gerrit.opnfv.org' + trigger-on: + - comment-added-event: + approval-category: 'CRVW' + approval-value: 2 + - comment-added-contains-event: + comment-contains-value: 'gate' + projects: + - project-compare-type: 'ANT' + project-pattern: '{project}' + branches: + - branch-compare-type: 'ANT' + branch-pattern: '**/{branch}' + file-paths: + - compare-type: 'ANT' + pattern: '{files}' + skip-vote: + successful: false + failed: false + unstable: false + notbuilt: false + - trigger: name: gerrit-trigger-change-merged triggers: @@ -420,7 +446,7 @@ - shell: | #!/bin/bash # Install python package - sudo pip install "flake8==2.6.2" + sudo -H pip install "flake8==2.6.2" echo "Checking python code..." for f in $(egrep '\.py$' modified_files) @@ -438,7 +464,7 @@ - shell: | #!/bin/bash # sudo Install python packages - sudo pip install "yamllint==1.8.2" + sudo -H pip install "yamllint==1.8.2" echo "Checking yaml file..." for f in $(egrep '\.ya?ml$' modified_files) @@ -720,7 +746,7 @@ - email-ext: <<: *email_ptl_defaults recipients: > - gelkinbard@mirantis.com + Alexandru.Avadanii@enea.com - publisher: name: 'email-functest-ptl' @@ -883,7 +909,7 @@ - email-ext: <<: *email_ptl_defaults recipients: > - fatih.degirmenci@ericsson.com + tbramwell@linuxfoundation.org - publisher: name: 'email-releng-anteater-ptl' <<: *email_releng_ptl_defaults @@ -900,7 +926,11 @@ <<: *email_releng_ptl_defaults - publisher: name: 'email-releng-xci-ptl' - <<: *email_releng_ptl_defaults + publishers: + - email-ext: + <<: *email_ptl_defaults + recipients: > + fatih.degirmenci@ericsson.com - publisher: name: 'email-samplevnf-ptl' @@ -1014,23 +1044,3 @@ - shell: !include-raw: installer-report.sh mark-unstable-if-failed: true - -- publisher: - name: 'post-clean-workspace' - publishers: - - postbuildscript: - builders: - - role: SLAVE - build-on: - - ABORTED - - FAILURE - - NOT_BUILT - - UNSTABLE - - SUCCESS - build-steps: - - shell: | - #!/bin/bash - set -o errexit - set -o nounset - set -o pipefail - sudo /bin/rm -rf "$WORKSPACE"