From: Serena Feng Date: Sat, 24 Feb 2018 08:46:03 +0000 (+0000) Subject: Merge "Update the postscriptbuild usage" X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=71096f12b5abf87dfb257902ec78b3130727bd33;hp=-c;p=releng.git Merge "Update the postscriptbuild usage" --- 71096f12b5abf87dfb257902ec78b3130727bd33 diff --combined jjb/global/releng-macros.yml index e58e1cfee,d3ffb0bfe..3433cee5f --- a/jjb/global/releng-macros.yml +++ b/jjb/global/releng-macros.yml @@@ -318,11 -318,9 +318,11 @@@ - shell: | #!/bin/bash if [[ -s violation.log ]]; then - echo "Reporting lint result..." + cat violation.log + echo "Reporting lint result...." + set -x msg="Found syntax error and/or coding style violation(s) in the files modified by your patchset." - sed -i -e '1s/^//$msg\n\n/' violation.log + sed -i -e "1s#^#${msg}\n\n#" violation.log cmd="gerrit review -p $GERRIT_PROJECT -m \"$(cat violation.log)\" $GERRIT_PATCHSET_REVISION --notify NONE" ssh -p 29418 gerrit.opnfv.org "$cmd" @@@ -619,7 -617,7 +619,7 @@@ - email-ext: <<: *email_ptl_defaults recipients: > - hongbo.tianhongbo@huawei.com + georg.kunz@ericsson.com - publisher: name: 'email-dpacc-ptl' @@@ -827,7 -825,7 +827,7 @@@ - email-ext: <<: *email_ptl_defaults recipients: > - jack.morgan@intel.com + zhang.jun3g@zte.com.cn - publisher: name: 'email-pharos-tools-ptl' <<: *email_pharos_ptl_defaults @@@ -903,7 -901,7 +903,7 @@@ - email-ext: <<: *email_ptl_defaults recipients: > - ManuelBuilmbuil@suse.com + mbuil@suse.com - publisher: name: 'email-snaps-ptl' @@@ -965,6 -963,7 +965,7 @@@ - shell: !include-raw-escape: installer-report.sh - postbuildscript: + script-only-if-succeeded: false script-only-if-failed: true builders: - shell: |