-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major
-
Component/s: rebuild-plugin
-
None
Non-admin users see two "Rebuild" buttons on Pipeline builds when the Rebuilder plugin is installed.
This does not happen for admin users, who instead see Replay + Rebuild, which is expected.
For non-admin users, the UI shows:
- Rebuild (from Rebuilder plugin)
- Rebuild (actually the Pipeline Replay action, but renamed because the user lacks the Replay permission)
This makes it appear as if Jenkins has duplicated the Rebuild action. Users perceive this as a bug.
CloudBees has documented this behavior here:
đź”— https://docs.cloudbees.com/docs/cloudbees-ci-kb/latest/troubleshooting-guides/i-see-twice-the-option-rebuild-in-any-of-my-builds
According to the article, the duplication is caused by the Rebuilder plugin combined with the pipeline replay feature. However, from a user perspective, this is confusing and appears incorrect.
Expected Behavior
- Replay should be clearly distinguished from Rebuild
- Or Replay should not be relabeled as Rebuild for users without the Replay permission
- Or Jenkins should avoid showing two actions with the same label
Actual Behavior
- Non-admin users see two identical “Rebuild” buttons, with no indication that one is actually “Replay”
Steps to Reproduce
- Install the Rebuilder plugin
- Configure Jenkins with a security/permissions strategy where non-admin users:
-
- Have permission to trigger builds
-
- Do not have the Pipeline Replay permission
- Run a Pipeline job
- View the completed build as a non-admin user
- Two Rebuild buttons are shown
Impact
Users believe Jenkins is malfunctioning or misconfigured, leading to confusion and support requests.
The UI is misleading and does not clarify which action is Replay vs Rebuild.