-
New Feature
-
Resolution: Unresolved
-
Major
-
None
Can I change the button label "Approve" to something else in promoted build plugin?
I am using promoted-build-plugin and I created a promotion process. In that process I am getting a button called "Approve". After analyzing, it appears that this button label ("Approve" for the first time and 2nd time onwards it appears as "Re-execute promotion") is coming from plugins/script-security/WEB-INF/lib/script-security.jar file.
My requirements are:
- Can I add a new button called "Reject" may be by using some extension plugin or by adding some customization? On that button click, I want to reject the promotion process.
- If above is not possible, I am trying to use a choice parameter for "Approve" or "Reject" and use this exiting button to execute the promotion based on choice selection. Can I change the label of this button (may be "Execute") by any configuration or using some extension?
Hi oleg_nenashev, We are ready with the change. Can you please help us to create a branch for us so that we can put our changes and create a pull request for you? Also give me (ayan_b23@yahoo.co.in) and Nuupur (nuupuradathiya@gmail.com) write access for that branch.