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

readFileFromWorkspace broken in job dsl 1.60

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: job-dsl-plugin
    • Environment:
      Jenkins: 2.54
      Job-dsl-plugin: 1.60
      OS: Windows Server 2016
      browser: Chrome
      Java: Oracle JDK 8u121
    • Similar Issues:

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: