readFileFromWorkspace broken in job dsl 1.60

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • Component/s: job-dsl-plugin
    • Environment:
      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.

            Assignee:
            Daniel Spilker
            Reporter:
            Piotr Tempes
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: