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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • Jenkins 2.414.1
      Rebuilder Version325.v5ee8da_5293dc
      Build With Parameters Version76.v9382db_f78962

      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

            lmgray Michael Gray
            lmgray Michael Gray
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: