bin/tinbuild_internals.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
New commits: commit 27cd6c50aeee137fd93e6dce3fd246d2fc2a2554 Author: Norbert Thiebaud <nthieb...@gmail.com> Date: Fri Jan 11 04:53:55 2013 -0600 tb2: the way to report success/failed in gerrit buildbot has changed diff --git a/bin/tinbuild_internals.sh b/bin/tinbuild_internals.sh index d6220b7..d0b7db5 100644 --- a/bin/tinbuild_internals.sh +++ b/bin/tinbuild_internals.sh @@ -650,6 +650,7 @@ push_nightly() report_gerrit() { local log_type="$1" +local status="failed" [ $V ] && echo "report to gerrit retval=${retval} log_type=${log_type}" if [ "$log_type" = "short" -a "${retval?}" = "0" ] ; then @@ -681,12 +682,11 @@ local log_type="$1" fi if [ "${retval?}" = "0" ] ; then - log_msgs "Report Success for gerrit ref '$GERRIT_TASK_TICKET'." - cat "${gzlog}" | ssh ${GERRIT_HOST?} buildbot put --id ${TINDER_ID?} --ticket "${GERRIT_TASK_TICKET}" --succeed --log - - else - log_msgs "Report Failure for gerrit ref '$GERRIT_TASK_TICKET." - cat "${gzlog}" | ssh ${GERRIT_HOST?} buildbot report --id ${TINDER_ID?} --ticket "${GERRIT_TASK_TICKET}" --failed --log - + status="success" fi + log_msgs "Report Success for gerrit ref '$GERRIT_TASK_TICKET'." + cat "${gzlog}" | ssh ${GERRIT_HOST?} buildbot put --id ${TINDER_ID?} --ticket "${GERRIT_TASK_TICKET}" --status $status --log - + } fetch_gerrit() _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits