• Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • content-replace-plugin
    • None
    • jenkins 2.462.3
      content replace plugin 1.8.2

      when executing the contentReplace method, and assigning the returned value to a variable, we get null.

      we ask for a better value to be returned (for example, the number of replacements performed, or an object containing some information about the replacements performed).

      we need this value in our ci to determine some forking in our flow.

      if more information is needed - let me know and i'll provide it.

          [JENKINS-73918] add a return value to contentReplace

          alex added a comment -

          it will be helpful also to get the required matches in the returned object and a final status for the operation result.

          alex added a comment - it will be helpful also to get the required matches in the returned object and a final status for the operation result.

            moxun mo xun
            amidar Amit Dar
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: