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

Error in implements sh statment in no declarative pipeline

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • jenkinsfile-runner
    • None

      Hi,

      In my pipeline I have this code fragment:

      And it works correctly

      But in this fragment

      the sh statment returns to me this error:

      Caused: java.io.NotSerializableException: groovy.json.internal.LazyMap

        1. image-2022-03-10-16-14-32-640.png
          11 kB
          Ruben Cabrerizo
        2. image-2022-03-10-16-16-16-862.png
          49 kB
          Ruben Cabrerizo

            Unassigned Unassigned
            rcabrerizo Ruben Cabrerizo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: