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

NullPointerException when specifying -f Jenkinsfile without a path

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      https://github.com/jenkinsci/jenkinsfile-runner/issues/28

       

      Running

      jenkinsfile-runner ... -f Jenkinsfile

      results in:

      java.lang.NullPointerException at hudson.FilePath.<init>(FilePath.java:272) at io.jenkins.jenkinsfile.runner.FileSystemSCM.checkout(FileSystemSCM.java:37) ...

       

      Running

      jenkinsfile-runner ... -f ./Jenkinsfile

       

      works

        Attachments

          Activity

          oleg_nenashev Oleg Nenashev created issue -
          egutierrez Evaristo Gutierrez made changes -
          Field Original Value New Value
          Description [https://github.com/jenkinsci/jenkinsfile-runner/issues/28]

           

          RunningRunning
          {code:java}
          jenkinsfile-runner ... -f Jenkinsfile{code}
          results in:
          {code:java}
          java.lang.NullPointerException at hudson.FilePath.<init>(FilePath.java:272) at io.jenkins.jenkinsfile.runner.FileSystemSCM.checkout(FileSystemSCM.java:37) ...{code}
           

          Running
          {code:java}
          jenkinsfile-runner ... -f ./Jenkinsfile{code}
           

          works
          [https://github.com/jenkinsci/jenkinsfile-runner/issues/28]

           

          Running
          {code:java}
          jenkinsfile-runner ... -f Jenkinsfile{code}
          results in:
          {code:java}
          java.lang.NullPointerException at hudson.FilePath.<init>(FilePath.java:272) at io.jenkins.jenkinsfile.runner.FileSystemSCM.checkout(FileSystemSCM.java:37) ...{code}
           

          Running
          {code:java}
          jenkinsfile-runner ... -f ./Jenkinsfile{code}
           

          works
          egutierrez Evaristo Gutierrez made changes -
          Labels triaged

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            oleg_nenashev Oleg Nenashev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: