X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fglobal%2Freleng-macros.yaml;h=cb6f0f285efd2f89a6e90f798973165ff87f6ca9;hb=824a278e82c9bc5217d6f7c3d99511eb23334f70;hp=b282cff4fb61f0390381882a2a333f7452ef8b94;hpb=d7c9390a4434f030914b78b9c2a44f7673b5b63f;p=releng.git diff --git a/jjb/global/releng-macros.yaml b/jjb/global/releng-macros.yaml index b282cff4f..cb6f0f285 100644 --- a/jjb/global/releng-macros.yaml +++ b/jjb/global/releng-macros.yaml @@ -101,7 +101,7 @@ name: git-scm scm: - git: &git-scm-defaults - credentials-id: '$SSH_CREDENTIAL_ID' + credentials-id: 'd42411ac011ad6f3dd2e1fa34eaa5d87f910eb2e' url: '$GIT_BASE' branches: - 'origin/$BRANCH' @@ -136,7 +136,7 @@ name: git-scm-with-submodules scm: - git: - credentials-id: '$SSH_CREDENTIAL_ID' + credentials-id: 'd42411ac011ad6f3dd2e1fa34eaa5d87f910eb2e' url: '$GIT_BASE' refspec: '' branches: @@ -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) @@ -615,17 +641,6 @@ recipients: > stephen.wong1@huawei.com -- publisher: &email_compass4nfv_ptl_defaults - name: 'email-compass4nfv-ptl' - publishers: - - email-ext: - <<: *email_ptl_defaults - recipients: > - chigang@huawei.com -- publisher: - name: 'email-compass-containers-ptl' - <<: *email_compass4nfv_ptl_defaults - - publisher: name: 'email-conductor-ptl' publishers: @@ -642,14 +657,6 @@ recipients: > jiaxuan@chinamobile.com -- publisher: - name: 'email-copper-ptl' - publishers: - - email-ext: - <<: *email_ptl_defaults - recipients: > - aimeeu.opensource@gmail.com - - publisher: name: 'email-cperf-ptl' publishers: @@ -720,7 +727,7 @@ - email-ext: <<: *email_ptl_defaults recipients: > - gelkinbard@mirantis.com + Alexandru.Avadanii@enea.com - publisher: name: 'email-functest-ptl' @@ -770,14 +777,6 @@ recipients: > ruan.he@orange.com -- publisher: - name: 'email-netready-ptl' - publishers: - - email-ext: - <<: *email_ptl_defaults - recipients: > - georg.kunz@ericsson.com - - publisher: name: 'email-nfvbench-ptl' publishers: @@ -856,7 +855,7 @@ - email-ext: <<: *email_ptl_defaults recipients: > - zhang.jun3g@zte.com.cn + jack@jento.io - publisher: name: 'email-pharos-tools-ptl' <<: *email_pharos_ptl_defaults @@ -883,7 +882,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 +899,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'