Merge "Update the postscriptbuild usage"
authorSerena Feng <feng.xiaowei@zte.com.cn>
Sat, 24 Feb 2018 08:46:03 +0000 (08:46 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Sat, 24 Feb 2018 08:46:03 +0000 (08:46 +0000)
1  2 
jjb/global/releng-macros.yml

        - 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"
  
        - email-ext:
            <<: *email_ptl_defaults
            recipients: >
 -            hongbo.tianhongbo@huawei.com
 +            georg.kunz@ericsson.com
  
  - publisher:
      name: 'email-dpacc-ptl'
        - 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
        - email-ext:
            <<: *email_ptl_defaults
            recipients: >
 -            ManuelBuilmbuil@suse.com
 +            mbuil@suse.com
  
  - publisher:
      name: 'email-snaps-ptl'
              - shell:
                  !include-raw-escape: installer-report.sh
        - postbuildscript:
+           script-only-if-succeeded: false
            script-only-if-failed: true
            builders:
              - shell: |