-
Bug
-
Resolution: Unresolved
-
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 |
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
[JENKINS-71932] Rebuild plugin doesn't work from build result Parameters or Timings view
Summary | Original: Rebuild plugin doesn't work from Parmeters page | New: Rebuild plugin doesn't work from Parameters page |
Attachment | New: image-2023-08-30-08-29-19-778.png [ 61079 ] |
Description |
Original:
From the `Parameters` page on a build result, clicking the *Rebuild* button generates the wrong URL:
!image-2023-08-30-08-16-59-974.png! which results in: h2. 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|https://eclipse.org/jetty] The correct URL should be {noformat} /job/Personal/job/rebuild-test/1/rebuild/parameterized{noformat} not {noformat} /job/Personal/job/rebuild-test/1/parameters/rebuild/parameterized{noformat} |
New:
From the Parameters page on a build result, clicking the *Rebuild* button generates the wrong URL which results in:
h2. 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|https://eclipse.org/jetty] The correct URL should be {noformat} /job/Personal/job/rebuild-test/1/rebuild/parameterized{noformat} not {noformat} /job/Personal/job/rebuild-test/1/parameters/rebuild/parameterized{noformat} |
Attachment | Original: image-2023-08-30-08-29-19-778.png [ 61079 ] |
Attachment | Original: image-2023-08-30-08-17-58-815.png [ 61078 ] |
Environment |
Original:
Jenkins 2.414.1
Rebuilder Version325.v5ee8da_5293dc |
New:
Jenkins 2.414.1
Rebuilder Version325.v5ee8da_5293dc Build With Parameters Version76.v9382db_f78962 |
Description |
Original:
From the Parameters page on a build result, clicking the *Rebuild* button generates the wrong URL which results in:
h2. 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|https://eclipse.org/jetty] The correct URL should be {noformat} /job/Personal/job/rebuild-test/1/rebuild/parameterized{noformat} not {noformat} /job/Personal/job/rebuild-test/1/parameters/rebuild/parameterized{noformat} |
New:
From the Parameters page on a build result, clicking the *Rebuild* button generates the wrong URL which results in:
h2. 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|https://eclipse.org/jetty] The correct URL should be {noformat} /job/Personal/job/rebuild-test/1/rebuild/parameterized{noformat} not {noformat} /job/Personal/job/rebuild-test/1/parameters/rebuild/parameterized{noformat} To reproduce the problem: - create a simple freestyle build with a parameter (shell step to echo the 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 |
Summary | Original: Rebuild plugin doesn't work from Parameters page | New: Rebuild plugin doesn't work from build result Parameters or Timings view |
Description |
Original:
From the Parameters page on a build result, clicking the *Rebuild* button generates the wrong URL which results in:
h2. 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|https://eclipse.org/jetty] The correct URL should be {noformat} /job/Personal/job/rebuild-test/1/rebuild/parameterized{noformat} not {noformat} /job/Personal/job/rebuild-test/1/parameters/rebuild/parameterized{noformat} To reproduce the problem: - create a simple freestyle build with a parameter (shell step to echo the 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 |
New:
From the *Parameters* or *Timings* view on a build result, clicking the *Rebuild* button generates the wrong URL which results in:
h2. 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|https://eclipse.org/jetty] The correct URL should be {noformat} /job/Personal/job/rebuild-test/1/rebuild/parameterized{noformat} not {noformat} /job/Personal/job/rebuild-test/1/parameters/rebuild/parameterized{noformat} 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 |
Environment |
Original:
Jenkins 2.414.1
Rebuilder Version325.v5ee8da_5293dc Build With Parameters Version76.v9382db_f78962 |
New:
Jenkins 2.414.1
Rebuilder Version325.v5ee8da_5293dc Build With Parameters Version76.v9382db_f78962 |