Rebuild plugin doesn't work from build result Parameters or Timings view

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

XMLWordPrintable

      From the Parameters or Timings view on a build result, clicking the Rebuild button generates the wrong URL which results in:

      HTTP ERROR 404 Not Found

      URI: /job/Personal/job/rebuild-test/1/parameters/rebuild/parameterized
      STATUS: 404
      MESSAGE: Not Found
      SERVLET: Stapler

      Powered by Jetty:// 10.0.15

       

      The correct URL should be 

      /job/Personal/job/rebuild-test/1/rebuild/parameterized

       not 

      /job/Personal/job/rebuild-test/1/parameters/rebuild/parameterized

       

      To reproduce the problem:

      • create a simple freestyle build with a parameter (shell step to echo a parameter works well)
      • run the build
      • navigate to the build result
      • click Parameters or Timings button to view associated build data
      • click Rebuild to try to rebuild with parameters
      • observe 404 error and wrong URL

            Assignee:
            Michael Gray
            Reporter:
            Michael Gray
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: