-
Bug
-
Resolution: Fixed
-
Blocker
java.lang.NullPointerException at org.jenkinsci.plugins.p4.scm.StreamsScmSource.getWorkspace(StreamsScmSource.java:67) at org.jenkinsci.plugins.p4.PerforceScm.<init>(PerforceScm.java:190) at org.jenkinsci.plugins.p4.scm.P4SCMHead.getScm(P4SCMHead.java:34) at org.jenkinsci.plugins.p4.scm.P4SCMBuilder.build(P4SCMBuilder.java:55) at org.jenkinsci.plugins.p4.scm.AbstractP4ScmSource.build(AbstractP4ScmSource.java:193) at org.jenkinsci.plugins.p4.scm.AbstractP4ScmSource.build(AbstractP4ScmSource.java:47) at jenkins.scm.api.SCMFileSystem$Builder.build(SCMFileSystem.java:546) at jenkins.scm.api.SCMFileSystem.of(SCMFileSystem.java:303) at org.jenkinsci.plugins.workflow.multibranch.SCMBinder.create(SCMBinder.java:100) at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:293) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429) Finished: FAILURE
After updating to 1.9.5 and launching a build (any). Building works fine after reverting to 1.8.15 - which is the last version of the P4 plugin that has worked for us.
It seems that the Path is invalid? I didn't think that was possible...
Please can you provide some detail to help us reproduce the issue.
(1) I presume you are using 'Helix Streams' for the source?
(2) Do you use a custom name or location for your Jenkinsfile
(3) Is your Jenkinsfile 'Pipeline' (Declarative) or 'node' (Script)?
(4) Do you use Libraries
(5) Do you use 'p4sync' or 'checkout' steps in the Jenkinsfile
(6) When referring to 'Starting a pipeline in a MultiBranch project' do you simply mean clicking on 'Scan Multibranch Pipeline Now' or some other feature?