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

Unable to modify the order between scripts loaded during replay

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • workflow-cps-plugin
    • None
    • 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.

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

              Created:
              Updated: