You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@yetus.apache.org by bu...@apache.org on 2018/08/18 03:34:53 UTC

yetus git commit: YETUS-646 jira plugin downloaded the wrong attachment during transient network failure.

Repository: yetus
Updated Branches:
  refs/heads/master 2a5534e13 -> a32a65138


YETUS-646 jira plugin downloaded the wrong attachment during transient network failure.

Signed-off-by: Allen Wittenauer <aw...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/yetus/repo
Commit: http://git-wip-us.apache.org/repos/asf/yetus/commit/a32a6513
Tree: http://git-wip-us.apache.org/repos/asf/yetus/tree/a32a6513
Diff: http://git-wip-us.apache.org/repos/asf/yetus/diff/a32a6513

Branch: refs/heads/master
Commit: a32a6513825026bcf02b634310327264e1470050
Parents: 2a5534e
Author: Sean Busbey <bu...@apache.org>
Authored: Fri Aug 17 13:27:57 2018 -0500
Committer: Sean Busbey <bu...@apache.org>
Committed: Fri Aug 17 22:34:10 2018 -0500

----------------------------------------------------------------------
 precommit/test-patch.d/jira.sh | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/yetus/blob/a32a6513/precommit/test-patch.d/jira.sh
----------------------------------------------------------------------
diff --git a/precommit/test-patch.d/jira.sh b/precommit/test-patch.d/jira.sh
index f68c5f5..c01587e 100755
--- a/precommit/test-patch.d/jira.sh
+++ b/precommit/test-patch.d/jira.sh
@@ -224,8 +224,10 @@ function jira_locate_patch
       echo "Downloaded"
     elif [[ ${retval} == 22 ]]; then
       echo "404"
+      yetus_debug "Presuming the attachment was deleted, trying the next one (see YETUS-298)"
     else
       echo "Error (curl returned ${retval})"
+      break
     fi
   done < <(cat "${PATCH_DIR}/jira-attachments.txt")