jenkinsci / jenkinsci/gerrit-trigger-plugin
[JENKINS-16421] gerrit-trigger UI elements 404 on jenkins 1.499
- Dominant language
- Java
- Stars
- 226
- Forks
- 289
- PR merge metrics
- No merged PRs in 30d
Description
It appears as if the jenkins plugin is somehow unable to register its URLS with jenkins correct. Clicking the link to retrigger a build or select builds to retrigger takes me to /jenkins/gerrit_manual_trigger, which is 404. Also, the retrigger icon, trying to load from /jenkins/plugin/gerrit-trigger/images/icon_retrigger24.png is also 404. The trigger does appear to work when configured from a job.
I tried rebuilding the latest code from github and changing the jenkins-ci dependency to 1.480. By forcing the build to skip tests, I got it to compile but after installation the behavior is the same. Prior to upgrade to 2.7.0 + Jenkins 1.499 I had everything running with the same config with gerrit-trigger 2.5.2 and Jenkins 1.4.463. I'm not seeing anything gerrit-trigger related in the logs.
I'm happy to help troubleshoot however I can, but I'm a bit at a loss where to start currently. Any ideas?
Thanks!
---
Originally reported by easel, imported from: gerrit-trigger UI elements 404 on jenkins 1.499
rsandell
Raw content of original issue
It appears as if the jenkins plugin is somehow unable to register its URLS with jenkins correct. Clicking the link to retrigger a build or select builds to retrigger takes me to /jenkins/gerrit_manual_trigger, which is 404. Also, the retrigger icon, trying to load from /jenkins/plugin/gerrit-trigger/images/icon_retrigger24.png is also 404. The trigger does appear to work when configured from a job.
I tried rebuilding the latest code from github and changing the jenkins-ci dependency to 1.480. By forcing the build to skip tests, I got it to compile but after installation the behavior is the same. Prior to upgrade to 2.7.0 + Jenkins 1.499 I had everything running with the same config with gerrit-trigger 2.5.2 and Jenkins 1.4.463. I'm not seeing anything gerrit-trigger related in the logs.
I'm happy to help troubleshoot however I can, but I'm a bit at a loss where to start currently. Any ideas?
Thanks!
- environment:
RHEL5, Sun Java 1.6.33, Jenkins 1.499
Contributor guide
Research direction
Start by reproducing the missing /jenkins/gerrit_manual_trigger page and /jenkins/plugin/gerrit-trigger/images/icon_retrigger24.png on Jenkins 1.499, then trace how the gerrit-trigger plugin registers these URLs and resources. Done means the retrigger links and icon load successfully while configured job triggers continue to work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- ci-cd, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100