Re: How to capture HTTP response with the status 500?

2017-01-17 Thread Al Le
Hello Klaus, > I am quite confident that you can call the > Method HttpURLConnection.getErrorStream within the respective catch block to > read the body of the HTTP response. Hope that helps. Thank you for the tip! I didn't know of that method! Indeed, with getErrorStream() I could read out th

Re: How to capture HTTP response with the status 500?

2017-01-17 Thread Klaus Malorny
On 17.01.17 08:08, Al Le wrote: So maybe it's because of the inbuilt JDK's implementation of connection.getInputStream (it throws an exception if the status is 500). I've debugged it and found out that the connection object is of type 'sun.net.www.protocol.https.HttpsURLConnectionImpl' which d

exec task fails for service account

2017-01-17 Thread Sebastian Götz
Hi guys, I have some troule with my ANT build. We just migrated our CI-Server (Jenkins) to a new machine. The former was a Windows Server 2008 R2 and now we have a Windows 10 machine. After installing Jenkins and ANT and Java and all the other stuff and restoring the configuration backup I can