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

every build fail except first one

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • p4-plugin
    • p4:1.9.4

      I upgraded to 1.9.4, there is a bug. Now I am roll-back to 1.9.3. It is OK.

       

      I have a pipeline job,

      configured like below.

      workspace name is jenkins-${NODE_NAME}${JOB_NAME}${EXECUTOR_NUMBER} originally.

       

      This capture is from 1.9.3

      But in case of 1.9.4,

      first build is normal, but all builds from second have a problem.

       

      log is 

      com.perforce.p4java.exception.RequestException: //jenkinsTemp-7a493879-8d2c-4b5b-a1b4-d7f4dfd86e81/Jenkinsfile - file(s) not in client view.

      at com.perforce.p4java.impl.mapbased.server.cmd.ResultMapParser.handleWarningStr(ResultMapParser.java:164)
      at com.perforce.p4java.impl.mapbased.rpc.OneShotServerImpl.execStreamCmd(OneShotServerImpl.java:545)
      at com.perforce.p4java.impl.mapbased.rpc.OneShotServerImpl.execStreamCmd(OneShotServerImpl.java:461)
      at com.perforce.p4java.impl.mapbased.server.cmd.BaseDelegator.execStreamCmd(BaseDelegator.java:163)
      at com.perforce.p4java.impl.mapbased.server.cmd.PrintDelegator.getFileContents(PrintDelegator.java:56)
      at com.perforce.p4java.impl.mapbased.server.Server.getFileContents(Server.java:2288)
      at org.jenkinsci.plugins.p4.scm.P4SCMFile.content(P4SCMFile.java:145)
      Caused: java.io.IOException
      at org.jenkinsci.plugins.p4.scm.P4SCMFile.content(P4SCMFile.java:147)
      at jenkins.scm.api.SCMFile.contentAsString(SCMFile.java:338)
      at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:110)
      at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:67)
      at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:303)
      at hudson.model.ResourceController.execute(ResourceController.java:97)
      at hudson.model.Executor.run(Executor.java:429)

       

      and configure page shows

      workspace name and view mappings is different name like

      workspace name : jenkinsTemp-ebdxxxx

      view mappings : //jenkinsTemp-abcxxxx

       

       

       

            p4paul Paul Allen
            horangs Hokwang Lee
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: