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

readFileFromWorkspace broken in job dsl 1.60

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • job-dsl-plugin
    • Jenkins: 2.54
      Job-dsl-plugin: 1.60
      OS: Windows Server 2016
      browser: Chrome
      Java: Oracle JDK 8u121

      after migration to job dsl 1.60 readFileFromWorkspace broke. It throws nullpointer.

      I tried to add job name as a first parameter then returned string is null instead script content. Script must have been found since there is a "exists" check there so I do not know why content of file is returned as null.

            daspilker Daniel Spilker
            carek Piotr Tempes
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: