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

561.va_ce0de3c2d69 breaks use of shared library loaded by folder

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • Jenkins 2.319.3
      workflow-cps-global-lib 564.ve62a_4eb_b_e039

      I attach shared libraries to a folder so that they are implicitly loaded for every job inside that folder. Update 561.va_ce0de3c2d69 breaks that use case. Those libraries and the job use different checkout directories which seems to prevent the usage of the libraries inside the job. This bug is not fixed by 564.ve62a_4eb_b_e039.

       

       

      Checking out hudson.scm.CVSSCM into /var/lib/jenkins/workspace/job@script/88121a288594b0e253b5beabf0b4d49e3506359b6413bd4dd8347ba558726a52 to read Jenkinsfile
      cvs update -d -P -r HEAD -D 18 Feb 2022 11:42:35 +0100 88121a288594b0e253b5beabf0b4d49e3506359b6413bd4dd8347ba558726a52 
      cvs rlog -S -d18 Feb 2022 11:41:05 +0100<18 Feb 2022 11:42:35 +0100 job
      Loading library LIB1@1
      cvs update -d -P -r HEAD -D 18 Feb 2022 11:42:35 +0100 1960a59d08a57865deb2d002d44ad2e7e54b21935a5d84f9b374b877d60afb7e 
      cvs rlog -S -d18 Feb 2022 11:41:05 +0100<18 Feb 2022 11:42:35 +0100 lib1 
      Loading library LIB2@1
      cvs update -d -P -r HEAD -D 18 Feb 2022 11:42:35 +0100 1960a59d08a57865deb2d002d44ad2e7e54b21935a5d84f9b374b877d60afb7e 
      cvs rlog -S -d18 Feb 2022 11:41:05 +0100<18 Feb 2022 11:42:35 +0100 lib2
      ... 
      groovy.lang.MissingPropertyException: No such property: xyz for class: groovy.lang.Binding
      

       

            Unassigned Unassigned
            rick_eisermann Rick Eisermann
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: