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 bose created issue -
          Oleg Nenashev made changes -
          Assignee Original: Oleg Nenashev [ oleg_nenashev ]
          Oleg Nenashev made changes -
          Issue Type Original: Task [ 3 ] New: New Feature [ 2 ]
          ayan bose made changes -
          Assignee New: ayan bose [ ayan_b23 ]
          ayan bose made changes -
          Assignee Original: ayan bose [ ayan_b23 ] New: Oleg Nenashev [ oleg_nenashev ]
          Oleg Nenashev made changes -
          Assignee Original: Oleg Nenashev [ oleg_nenashev ] New: ayan bose [ ayan_b23 ]
          Oleg Nenashev made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 172801 ] New: JNJira + In-Review [ 185801 ]

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

              Created:
              Updated: