Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-4787

404 page not found error even a build is triggered successfully

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • 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);

            Unassigned Unassigned
            zhipeng zhipeng
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: