You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@yetus.apache.org by "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2017/08/18 19:15:00 UTC

[jira] [Comment Edited] (YETUS-536) Jira plugin should output the information about curl failure in debug mode.

    [ https://issues.apache.org/jira/browse/YETUS-536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16133502#comment-16133502 ] 

Allen Wittenauer edited comment on YETUS-536 at 8/18/17 7:14 PM:
-----------------------------------------------------------------

This is a great idea.  It also makes me realize that we really should better manage how we use curl.  It's kind of dumb for us to have standalone functions that call curl rather than have one or two generics that could be used everywhere. 

One thing I'm a bit confused by is that a successful return code didn't put anything up on the Jenkins console when run in debug mode.  Running this code standalone says it should have, so I'm guessing there is something else grabbing stderr before this is called.  That's something that should probably be investigated but that's outside the scope here I think.

In any case, I'll give others time to weigh in on the first point.  If you'd like to take that up, it'd be great.


was (Author: aw):
This is a great idea.  It also makes me realize that we really should better manage how we use curl.  It's kind of dumb for us to have standalone functions that call curl rather than have one or two generics that could be used everywhere. 

One thing I'm a bit confused by is that a successful return code didn't put anything up on the Jenkins console when run in debug mode.  Running this code standalone says it should have, so I'm guessing there is something else grabbing stderr before this is called.  That's something that should probably be investigated but that's outside the scope here I think.

In any case, I'll let others weight in on the first point.  If you'd like to take that up, it'd be great.

> Jira plugin should output the information about curl failure in debug mode.
> ---------------------------------------------------------------------------
>
>                 Key: YETUS-536
>                 URL: https://issues.apache.org/jira/browse/YETUS-536
>             Project: Yetus
>          Issue Type: Improvement
>            Reporter: Mano Kovacs
>            Assignee: Mano Kovacs
>         Attachments: YETUS-536.001.patch
>
>
> If call to JIRA fails, there is not much information about the reason.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)