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

Can I change the button label "Approve" to something else in promoted build plugin

      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:

      1. 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.
      2. 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?

          [JENKINS-36146] Can I change the button label "Approve" to something else in promoted build plugin

            ayan_b23 ayan bose
            ayan_b23 ayan bose
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: