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

Parameters are not replaced in the "Stream Codeline" field

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • p4-plugin
    • Jenkins ver. 2.169

      I can not use variables in Stream Codeline for Pipeline projects. The variable is not replaced with it's correct value.

       

      hudson.AbortException: Error in client specification.
      Error detected at line 18.
      Stream '//User/' is not the correct format of '//depotname/string'	at org.jenkinsci.plugins.p4.client.ClientHelper.clientLogin(ClientHelper.java:167)
      	at org.jenkinsci.plugins.p4.client.TempClientHelper.<init>(TempClientHelper.java:40)
      	at org.jenkinsci.plugins.p4.scm.P4SCMFileSystem.<init>(P4SCMFileSystem.java:26)
      	at org.jenkinsci.plugins.p4.scm.P4SCMFileSystem$BuilderImpl.build(P4SCMFileSystem.java:77)
      Caused: java.io.IOException
      	at org.jenkinsci.plugins.p4.scm.P4SCMFileSystem$BuilderImpl.build(P4SCMFileSystem.java:79)
      	at jenkins.scm.api.SCMFileSystem.of(SCMFileSystem.java:198)
      	at jenkins.scm.api.SCMFileSystem.of(SCMFileSystem.java:174)
      	at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:108)
      	at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:67)
      	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
      

            p4paul Paul Allen
            dhoerner Daniel Hoerner
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: