Closed aWildElephant closed 8 years ago
added a fix for this one. try 1.4.1 release
Thanks for your quick response, I didn't want to restart Jenkins right away but I'll test this as soon as I can. I managed to track down my issue to the fact the url I provided returns a 302 found. I'd say the HTTP agent you use either tries again with a GET method or does not handle it at all. I'll see if I'm able to provide a fix.
If you're getting a 302 you're probably pointing to a http URL when your stash instance is running on https. You shouldn't use http for basic auth which is what we use for the stash rest api.
Yes that was it. Thanks for the help!
Hello,
I've tried to set up a job using the Stash pullrequest builder plugin but it fails to poll Stash with a NullPointerException:
I'm guessing that the method postPullRequestComment encountered an UnsupportedEncodingException or an IOException and returned null. I don't understand the benefit of this behavior however, since the upstream error message is lost and no check is done to see if the method suceeded or not.
I was hoping you could clarify that for me. The plugin works perfectly with a similar configuration on my 'test server', which is a virtual machine running jenkins and stash. I feel like I won't be able to move forward without a meaningful error message.
I'm working with Jenkins v1.627 and the version 1.3.1 of the plugin.
Best regards.