Unable to modify the order between scripts loaded during replay

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor
    • Component/s: workflow-cps-plugin
    • None
    • Environment:
      Jenkins v2.32.1 on Windows with pipeline plugin v2.4

      Give an example directly. Main Script is like:
      node("slave01") {
      load "f1.groovy" // echo "1"
      load "f2.groovy" // echo "2"
      }
      Modify the main script in Replay site, not the contents of Script1 or Script2
      node("slave01") {
      load "f2.groovy" // echo "2"
      load "f1.groovy" // echo "1"
      }
      It actually run the loaded scripts' order - Script1 then Script2 ... so it still gets 1 and then 2 printed as result.

            Assignee:
            Unassigned
            Reporter:
            WENJUN ZHA
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: