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

Replay doesn't allow to adapt evaluate(...) content

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • workflow-cps-plugin
    • None
    • Jenkins 2.414.3

      Code executed by evaluate is displayed for modification in the Replay view but the modified content isn't taken into account.

      This can be easily reproduced with this code:

      def script = "println 'hello world'"
      evaluate(script)
      

      After the first execution, no matter what you enter in the Script1 field, the original script is still evaluated.

            Unassigned Unassigned
            mguillem Marc Guillemot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: