-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Platform: PC, OS: All
When a build is triggered using the following code, an 404 error returns even
the build it triggered successfully.
String uri = "Hudson build page/build?token=build_me";
DocumentBuilder parser =
DocumentBuilderFactory.newInstance().newDocumentBuilder();
URLConnection connection = new URL(uri).openConnection();
connection.connect();
InputStream is = connection.getInputStream();
Document document = parser.parse(is);