404 page not found error even a build is triggered successfully

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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);

            Assignee:
            Unassigned
            Reporter:
            zhipeng
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: