• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • p4-plugin

      A Pipeline job attempting to use the Perforce/Jenkins variables throws an exception when executed. Note in Freestyle and Matrix jobs this syntax works as expected.

      Code Sample
      #!groovy
      
      pipeline {
      
          agent { 
              node
              { 
                  label 'VS2022' 
              }
          }
          stages {
              stage ('Perforce Fetch') {
                  steps {
      		p4sync charset: 'none', credential: 'x1234567-1xxx-1234-xx12-1a23bc45d678', populate: autoClean(delete: true, modtime: true, parallel: [enable: true, minbytes: '4096', minfiles: '4', threads: '4'], pin: '', quiet: true, replace: true, tidy: false), source: depotSource(''' //depot/GroupID/ProductID/branches/7_60/project/... //jenkins-${NODE_NAME}-${JOB_NAME}-${EXECUTOR_NUMBER}/ProductID/trunk/project/...''')
                  }
              }             
          }
      }
      
      Resulting error message
      Started by user <removed for Jira ticket>
      [Pipeline] Start of Pipeline
      [Pipeline] node
      Running on <removed for Jira ticket> in <removed for Jira ticket>
      [Pipeline] {
      [Pipeline] stage
      [Pipeline] { (Perforce Fetch)
      [Pipeline] p4sync
      Executor number at runtime: 0
      ... p4 login
       +
      ... p4 login -s
       +
      ... p4 client -o <removed for Jira ticket>_PpLn-0
       +
      ... p4 info
       +
      ... p4 info
       +
      ... p4 client -o <removed for Jira ticket>_7-60_PpLn-0
       +
      ... p4 client -i
       +
      P4: Unable to setup workspace: com.perforce.p4java.exception.RequestException: Error in client specification.
      Error detected at line 16.
      Null directory (//) not allowed in '//depot/GroupID/ProductID/branches/7_60/project/... //jenkins-<removed for Jira ticket>_PpLn-0/ProductID/trunk/project/...'.
      
      	at com.perforce.p4java.impl.mapbased.server.cmd.ResultMapParser.handleErrorStr(ResultMapParser.java:151)
      	at com.perforce.p4java.impl.mapbased.server.cmd.ResultMapParser.parseCommandResultMapIfIsInfoMessageAsString(ResultMapParser.java:102)
      	at com.perforce.p4java.impl.mapbased.server.cmd.ClientDelegator.updateClient(ClientDelegator.java:212)
      	at com.perforce.p4java.impl.mapbased.server.Server.updateClient(Server.java:1784)
      	at com.perforce.p4java.impl.mapbased.client.Client.update(Client.java:524)
      	at org.jenkinsci.plugins.p4.client.ClientHelper.updateClient(ClientHelper.java:191)
      	at org.jenkinsci.plugins.p4.client.ClientHelper.clientLogin(ClientHelper.java:170)
      	at org.jenkinsci.plugins.p4.client.ClientHelper.<init>(ClientHelper.java:104)
      	at org.jenkinsci.plugins.p4.tasks.CheckoutTask.initialise(CheckoutTask.java:64)
      	at org.jenkinsci.plugins.p4.PerforceScm.checkout(PerforceScm.java:578)
      	at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:129)
      	at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:97)
      	at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:84)
      	at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
      	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
      	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      	at java.base/java.lang.Thread.run(Unknown Source)
      
      [Pipeline] }
      [Pipeline] // stage
      [Pipeline] }
      [Pipeline] // node
      [Pipeline] End of Pipeline
      ERROR: P4: Unable to initialise CheckoutTask: hudson.AbortException: Error in client specification.
      Error detected at line 16.
      Null directory (//) not allowed in '//depot/GroupID/ProductID/branches/7_60/project/... //jenkins-<removed for Jira ticket>_PpLn-0//ProductID/trunk/project/...'.
      
      Finished: FAILURE
      

          [JENKINS-69579] Pipline job using P4 throws exception

          John created issue -
          John made changes -
          Description Original: A Pipeline job attempting to use the Perforce/Jenkins variables throws an exception when executed.

          {code:title=Code Sample}
          {color:#6a9955}#!groovy{color}

          {color:#d4d4d4}pipeline {{color}

          {color:#d4d4d4}    agent { {color}
          {color:#d4d4d4}        node{color}
          {color:#d4d4d4}        { {color}
          {color:#d4d4d4}            label {color}{color:#ce9178}'VS2022'{color}
          {color:#d4d4d4}        }{color}
          {color:#d4d4d4}    }{color}
          {color:#d4d4d4}    stages {{color}
          {color:#d4d4d4}        stage ({color}{color:#ce9178}'Perforce Fetch'{color}{color:#d4d4d4}) {{color}
          {color:#d4d4d4}            steps {{color}
          {color:#d4d4d4}                p4sync charset: {color}{color:#ce9178}'none'{color}{color:#d4d4d4}, credential: {color}{color:#ce9178}'x1234567-1xxx-1234-xx12-1a23bc45d678'{color}{color:#d4d4d4}, populate: autoClean(delete: {color}{color:#569cd6}true{color}{color:#d4d4d4}, modtime: {color}{color:#569cd6}true{color}{color:#d4d4d4}, parallel: [enable: {color}{color:#569cd6}true{color}{color:#d4d4d4}, minbytes: {color}{color:#ce9178}'4096'{color}{color:#d4d4d4}, minfiles: {color}{color:#ce9178}'4'{color}{color:#d4d4d4}, threads: {color}{color:#ce9178}'4'{color}{color:#d4d4d4}], pin: {color}{color:#ce9178}''{color}{color:#d4d4d4}, quiet: {color}{color:#569cd6}true{color}{color:#d4d4d4}, replace: {color}{color:#569cd6}true{color}{color:#d4d4d4}, tidy: {color}{color:#569cd6}false{color}{color:#d4d4d4}), source: depotSource({color}{color:#ce9178}''' //depot/GroupID/ProductID/branches/7_60/project/... //jenkins-${NODE_NAME}-${JOB_NAME}-${EXECUTOR_NUMBER}/ProductID/trunk/project/...'''{color}{color:#d4d4d4}){color}
          {color:#d4d4d4}            }{color}
          {color:#d4d4d4}        }             {color}
          {color:#d4d4d4}    }{color}
          {color:#d4d4d4}}{color}{code}
           
          {code:title=Resulting error message}
          {color:#d4d4d4}Started by user <removed for Jira ticket>{color}
          {color:#d4d4d4}[Pipeline] Start of Pipeline{color}
          {color:#d4d4d4}[Pipeline] node{color}
          {color:#d4d4d4}Running on <removed for Jira ticket> in <removed for Jira ticket>{color}
          {color:#d4d4d4}[Pipeline] {{color}
          {color:#d4d4d4}[Pipeline] stage{color}
          {color:#d4d4d4}[Pipeline] { (Perforce Fetch){color}
          {color:#d4d4d4}[Pipeline] p4sync{color}
          {color:#d4d4d4}Executor number at runtime: 0{color}
          {color:#d4d4d4}... p4 login{color}
          {color:#d4d4d4} +{color}
          {color:#d4d4d4}... p4 login -s{color}
          {color:#d4d4d4} +{color}
          {color:#d4d4d4}... p4 client -o <removed for Jira ticket>_PpLn-0{color}
          {color:#d4d4d4} +{color}
          {color:#d4d4d4}... p4 info{color}
          {color:#d4d4d4} +{color}
          {color:#d4d4d4}... p4 info{color}
          {color:#d4d4d4} +{color}
          {color:#d4d4d4}... p4 client -o <removed for Jira ticket>_7-60_PpLn-0{color}
          {color:#d4d4d4} +{color}
          {color:#d4d4d4}... p4 client -i{color}
          {color:#d4d4d4} +{color}
          {color:#d4d4d4}P4: Unable to setup workspace: com.perforce.p4java.exception.RequestException: Error in client specification.{color}
          {color:#d4d4d4}Error detected at line 16.{color}
          {color:#d4d4d4}Null directory (//) not allowed in {color}{color:#ce9178}'//depot/GroupID/ProductID/branches/7_60/project/... //jenkins-<removed for Jira ticket>_PpLn-0/ProductID/trunk/project/...'{color}{color:#d4d4d4}.{color}

          {color:#d4d4d4}    at com.perforce.p4java.impl.mapbased.server.cmd.ResultMapParser.handleErrorStr(ResultMapParser.java:151){color}
          {color:#d4d4d4}    at com.perforce.p4java.impl.mapbased.server.cmd.ResultMapParser.parseCommandResultMapIfIsInfoMessageAsString(ResultMapParser.java:102){color}
          {color:#d4d4d4}    at com.perforce.p4java.impl.mapbased.server.cmd.ClientDelegator.updateClient(ClientDelegator.java:212){color}
          {color:#d4d4d4}    at com.perforce.p4java.impl.mapbased.server.Server.updateClient(Server.java:1784){color}
          {color:#d4d4d4}    at com.perforce.p4java.impl.mapbased.client.Client.update(Client.java:524){color}
          {color:#d4d4d4}    at org.jenkinsci.plugins.p4.client.ClientHelper.updateClient(ClientHelper.java:191){color}
          {color:#d4d4d4}    at org.jenkinsci.plugins.p4.client.ClientHelper.clientLogin(ClientHelper.java:170){color}
          {color:#d4d4d4}    at org.jenkinsci.plugins.p4.client.ClientHelper.<init>(ClientHelper.java:104){color}
          {color:#d4d4d4}    at org.jenkinsci.plugins.p4.tasks.CheckoutTask.initialise(CheckoutTask.java:64){color}
          {color:#d4d4d4}    at org.jenkinsci.plugins.p4.PerforceScm.checkout(PerforceScm.java:578){color}
          {color:#d4d4d4}    at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:129){color}
          {color:#d4d4d4}    at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:97){color}
          {color:#d4d4d4}    at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:84){color}
          {color:#d4d4d4}    at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47){color}
          {color:#d4d4d4}    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source){color}
          {color:#d4d4d4}    at java.base/java.util.concurrent.FutureTask.run(Unknown Source){color}
          {color:#d4d4d4}    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source){color}
          {color:#d4d4d4}    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source){color}
          {color:#d4d4d4}    at java.base/java.lang.Thread.run(Unknown Source){color}

          {color:#d4d4d4}[Pipeline] }{color}
          {color:#d4d4d4}[Pipeline] // stage{color}
          {color:#d4d4d4}[Pipeline] }{color}
          {color:#d4d4d4}[Pipeline] // node{color}
          {color:#d4d4d4}[Pipeline] End of Pipeline{color}
          {color:#d4d4d4}ERROR: P4: Unable to initialise CheckoutTask: hudson.AbortException: Error in client specification.{color}
          {color:#d4d4d4}Error detected at line 16.{color}
          {color:#d4d4d4}Null directory (//) not allowed in {color}{color:#ce9178}'//depot/GroupID/ProductID/branches/7_60/project/... //jenkins-<removed for Jira ticket>_PpLn-0//ProductID/trunk/project/...'{color}{color:#d4d4d4}.{color}

          {color:#d4d4d4}Finished: FAILURE{color}
          {code}
          New: A Pipeline job attempting to use the Perforce/Jenkins variables throws an exception when executed.
          {code:java|title=Code Sample}
          {code}
          {code:java|title=Resulting error message}


          {code}
          John made changes -
          Description Original: A Pipeline job attempting to use the Perforce/Jenkins variables throws an exception when executed.
          {code:java|title=Code Sample}
          {code}
          {code:java|title=Resulting error message}


          {code}
          New: A Pipeline job attempting to use the Perforce/Jenkins variables throws an exception when executed.
          {code:java|title=Code Sample}
          {code}
          {code:java|title=Resulting error message}
          Started by user <removed for Jira ticket>
          [Pipeline] Start of Pipeline
          [Pipeline] node
          Running on <removed for Jira ticket> in <removed for Jira ticket>
          [Pipeline] {
          [Pipeline] stage
          [Pipeline] { (Perforce Fetch)
          [Pipeline] p4sync
          Executor number at runtime: 0
          ... p4 login
           +
          ... p4 login -s
           +
          ... p4 client -o <removed for Jira ticket>_PpLn-0
           +
          ... p4 info
           +
          ... p4 info
           +
          ... p4 client -o <removed for Jira ticket>_7-60_PpLn-0
           +
          ... p4 client -i
           +
          P4: Unable to setup workspace: com.perforce.p4java.exception.RequestException: Error in client specification.
          Error detected at line 16.
          Null directory (//) not allowed in '//depot/GroupID/ProductID/branches/7_60/project/... //jenkins-<removed for Jira ticket>_PpLn-0/ProductID/trunk/project/...'.

          at com.perforce.p4java.impl.mapbased.server.cmd.ResultMapParser.handleErrorStr(ResultMapParser.java:151)
          at com.perforce.p4java.impl.mapbased.server.cmd.ResultMapParser.parseCommandResultMapIfIsInfoMessageAsString(ResultMapParser.java:102)
          at com.perforce.p4java.impl.mapbased.server.cmd.ClientDelegator.updateClient(ClientDelegator.java:212)
          at com.perforce.p4java.impl.mapbased.server.Server.updateClient(Server.java:1784)
          at com.perforce.p4java.impl.mapbased.client.Client.update(Client.java:524)
          at org.jenkinsci.plugins.p4.client.ClientHelper.updateClient(ClientHelper.java:191)
          at org.jenkinsci.plugins.p4.client.ClientHelper.clientLogin(ClientHelper.java:170)
          at org.jenkinsci.plugins.p4.client.ClientHelper.<init>(ClientHelper.java:104)
          at org.jenkinsci.plugins.p4.tasks.CheckoutTask.initialise(CheckoutTask.java:64)
          at org.jenkinsci.plugins.p4.PerforceScm.checkout(PerforceScm.java:578)
          at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:129)
          at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:97)
          at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:84)
          at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
          at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
          at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
          at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
          at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
          at java.base/java.lang.Thread.run(Unknown Source)

          [Pipeline] }
          [Pipeline] // stage
          [Pipeline] }
          [Pipeline] // node
          [Pipeline] End of Pipeline
          ERROR: P4: Unable to initialise CheckoutTask: hudson.AbortException: Error in client specification.
          Error detected at line 16.
          Null directory (//) not allowed in '//depot/GroupID/ProductID/branches/7_60/project/... //jenkins-<removed for Jira ticket>_PpLn-0//ProductID/trunk/project/...'.

          Finished: FAILURE
          {code}
          John made changes -
          Description Original: A Pipeline job attempting to use the Perforce/Jenkins variables throws an exception when executed.
          {code:java|title=Code Sample}
          {code}
          {code:java|title=Resulting error message}
          Started by user <removed for Jira ticket>
          [Pipeline] Start of Pipeline
          [Pipeline] node
          Running on <removed for Jira ticket> in <removed for Jira ticket>
          [Pipeline] {
          [Pipeline] stage
          [Pipeline] { (Perforce Fetch)
          [Pipeline] p4sync
          Executor number at runtime: 0
          ... p4 login
           +
          ... p4 login -s
           +
          ... p4 client -o <removed for Jira ticket>_PpLn-0
           +
          ... p4 info
           +
          ... p4 info
           +
          ... p4 client -o <removed for Jira ticket>_7-60_PpLn-0
           +
          ... p4 client -i
           +
          P4: Unable to setup workspace: com.perforce.p4java.exception.RequestException: Error in client specification.
          Error detected at line 16.
          Null directory (//) not allowed in '//depot/GroupID/ProductID/branches/7_60/project/... //jenkins-<removed for Jira ticket>_PpLn-0/ProductID/trunk/project/...'.

          at com.perforce.p4java.impl.mapbased.server.cmd.ResultMapParser.handleErrorStr(ResultMapParser.java:151)
          at com.perforce.p4java.impl.mapbased.server.cmd.ResultMapParser.parseCommandResultMapIfIsInfoMessageAsString(ResultMapParser.java:102)
          at com.perforce.p4java.impl.mapbased.server.cmd.ClientDelegator.updateClient(ClientDelegator.java:212)
          at com.perforce.p4java.impl.mapbased.server.Server.updateClient(Server.java:1784)
          at com.perforce.p4java.impl.mapbased.client.Client.update(Client.java:524)
          at org.jenkinsci.plugins.p4.client.ClientHelper.updateClient(ClientHelper.java:191)
          at org.jenkinsci.plugins.p4.client.ClientHelper.clientLogin(ClientHelper.java:170)
          at org.jenkinsci.plugins.p4.client.ClientHelper.<init>(ClientHelper.java:104)
          at org.jenkinsci.plugins.p4.tasks.CheckoutTask.initialise(CheckoutTask.java:64)
          at org.jenkinsci.plugins.p4.PerforceScm.checkout(PerforceScm.java:578)
          at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:129)
          at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:97)
          at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:84)
          at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
          at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
          at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
          at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
          at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
          at java.base/java.lang.Thread.run(Unknown Source)

          [Pipeline] }
          [Pipeline] // stage
          [Pipeline] }
          [Pipeline] // node
          [Pipeline] End of Pipeline
          ERROR: P4: Unable to initialise CheckoutTask: hudson.AbortException: Error in client specification.
          Error detected at line 16.
          Null directory (//) not allowed in '//depot/GroupID/ProductID/branches/7_60/project/... //jenkins-<removed for Jira ticket>_PpLn-0//ProductID/trunk/project/...'.

          Finished: FAILURE
          {code}
          New: A Pipeline job attempting to use the Perforce/Jenkins variables throws an exception when executed.
          {code:java|title=Code Sample}
          #!groovy

          pipeline {

              agent {
                  node
                  {
                      label 'VS2022'
                  }
              }
              stages {
                  stage ('Perforce Fetch') {
                      steps {
          p4sync charset: 'none', credential: 'x1234567-1xxx-1234-xx12-1a23bc45d678', populate: autoClean(delete: true, modtime: true, parallel: [enable: true, minbytes: '4096', minfiles: '4', threads: '4'], pin: '', quiet: true, replace: true, tidy: false), source: depotSource(''' //depot/GroupID/ProductID/branches/7_60/project/... //jenkins-${NODE_NAME}-${JOB_NAME}-${EXECUTOR_NUMBER}/ProductID/trunk/project/...''')
                      }
                  }
              }
          }
          {code}

          {code:java|title=Resulting error message}
          Started by user <removed for Jira ticket>
          [Pipeline] Start of Pipeline
          [Pipeline] node
          Running on <removed for Jira ticket> in <removed for Jira ticket>
          [Pipeline] {
          [Pipeline] stage
          [Pipeline] { (Perforce Fetch)
          [Pipeline] p4sync
          Executor number at runtime: 0
          ... p4 login
           +
          ... p4 login -s
           +
          ... p4 client -o <removed for Jira ticket>_PpLn-0
           +
          ... p4 info
           +
          ... p4 info
           +
          ... p4 client -o <removed for Jira ticket>_7-60_PpLn-0
           +
          ... p4 client -i
           +
          P4: Unable to setup workspace: com.perforce.p4java.exception.RequestException: Error in client specification.
          Error detected at line 16.
          Null directory (//) not allowed in '//depot/GroupID/ProductID/branches/7_60/project/... //jenkins-<removed for Jira ticket>_PpLn-0/ProductID/trunk/project/...'.

          at com.perforce.p4java.impl.mapbased.server.cmd.ResultMapParser.handleErrorStr(ResultMapParser.java:151)
          at com.perforce.p4java.impl.mapbased.server.cmd.ResultMapParser.parseCommandResultMapIfIsInfoMessageAsString(ResultMapParser.java:102)
          at com.perforce.p4java.impl.mapbased.server.cmd.ClientDelegator.updateClient(ClientDelegator.java:212)
          at com.perforce.p4java.impl.mapbased.server.Server.updateClient(Server.java:1784)
          at com.perforce.p4java.impl.mapbased.client.Client.update(Client.java:524)
          at org.jenkinsci.plugins.p4.client.ClientHelper.updateClient(ClientHelper.java:191)
          at org.jenkinsci.plugins.p4.client.ClientHelper.clientLogin(ClientHelper.java:170)
          at org.jenkinsci.plugins.p4.client.ClientHelper.<init>(ClientHelper.java:104)
          at org.jenkinsci.plugins.p4.tasks.CheckoutTask.initialise(CheckoutTask.java:64)
          at org.jenkinsci.plugins.p4.PerforceScm.checkout(PerforceScm.java:578)
          at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:129)
          at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:97)
          at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:84)
          at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
          at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
          at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
          at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
          at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
          at java.base/java.lang.Thread.run(Unknown Source)

          [Pipeline] }
          [Pipeline] // stage
          [Pipeline] }
          [Pipeline] // node
          [Pipeline] End of Pipeline
          ERROR: P4: Unable to initialise CheckoutTask: hudson.AbortException: Error in client specification.
          Error detected at line 16.
          Null directory (//) not allowed in '//depot/GroupID/ProductID/branches/7_60/project/... //jenkins-<removed for Jira ticket>_PpLn-0//ProductID/trunk/project/...'.

          Finished: FAILURE
          {code}
          John made changes -
          Description Original: A Pipeline job attempting to use the Perforce/Jenkins variables throws an exception when executed.
          {code:java|title=Code Sample}
          #!groovy

          pipeline {

              agent {
                  node
                  {
                      label 'VS2022'
                  }
              }
              stages {
                  stage ('Perforce Fetch') {
                      steps {
          p4sync charset: 'none', credential: 'x1234567-1xxx-1234-xx12-1a23bc45d678', populate: autoClean(delete: true, modtime: true, parallel: [enable: true, minbytes: '4096', minfiles: '4', threads: '4'], pin: '', quiet: true, replace: true, tidy: false), source: depotSource(''' //depot/GroupID/ProductID/branches/7_60/project/... //jenkins-${NODE_NAME}-${JOB_NAME}-${EXECUTOR_NUMBER}/ProductID/trunk/project/...''')
                      }
                  }
              }
          }
          {code}

          {code:java|title=Resulting error message}
          Started by user <removed for Jira ticket>
          [Pipeline] Start of Pipeline
          [Pipeline] node
          Running on <removed for Jira ticket> in <removed for Jira ticket>
          [Pipeline] {
          [Pipeline] stage
          [Pipeline] { (Perforce Fetch)
          [Pipeline] p4sync
          Executor number at runtime: 0
          ... p4 login
           +
          ... p4 login -s
           +
          ... p4 client -o <removed for Jira ticket>_PpLn-0
           +
          ... p4 info
           +
          ... p4 info
           +
          ... p4 client -o <removed for Jira ticket>_7-60_PpLn-0
           +
          ... p4 client -i
           +
          P4: Unable to setup workspace: com.perforce.p4java.exception.RequestException: Error in client specification.
          Error detected at line 16.
          Null directory (//) not allowed in '//depot/GroupID/ProductID/branches/7_60/project/... //jenkins-<removed for Jira ticket>_PpLn-0/ProductID/trunk/project/...'.

          at com.perforce.p4java.impl.mapbased.server.cmd.ResultMapParser.handleErrorStr(ResultMapParser.java:151)
          at com.perforce.p4java.impl.mapbased.server.cmd.ResultMapParser.parseCommandResultMapIfIsInfoMessageAsString(ResultMapParser.java:102)
          at com.perforce.p4java.impl.mapbased.server.cmd.ClientDelegator.updateClient(ClientDelegator.java:212)
          at com.perforce.p4java.impl.mapbased.server.Server.updateClient(Server.java:1784)
          at com.perforce.p4java.impl.mapbased.client.Client.update(Client.java:524)
          at org.jenkinsci.plugins.p4.client.ClientHelper.updateClient(ClientHelper.java:191)
          at org.jenkinsci.plugins.p4.client.ClientHelper.clientLogin(ClientHelper.java:170)
          at org.jenkinsci.plugins.p4.client.ClientHelper.<init>(ClientHelper.java:104)
          at org.jenkinsci.plugins.p4.tasks.CheckoutTask.initialise(CheckoutTask.java:64)
          at org.jenkinsci.plugins.p4.PerforceScm.checkout(PerforceScm.java:578)
          at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:129)
          at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:97)
          at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:84)
          at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
          at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
          at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
          at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
          at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
          at java.base/java.lang.Thread.run(Unknown Source)

          [Pipeline] }
          [Pipeline] // stage
          [Pipeline] }
          [Pipeline] // node
          [Pipeline] End of Pipeline
          ERROR: P4: Unable to initialise CheckoutTask: hudson.AbortException: Error in client specification.
          Error detected at line 16.
          Null directory (//) not allowed in '//depot/GroupID/ProductID/branches/7_60/project/... //jenkins-<removed for Jira ticket>_PpLn-0//ProductID/trunk/project/...'.

          Finished: FAILURE
          {code}
          New: A Pipeline job attempting to use the Perforce/Jenkins variables throws an exception when executed. Note in Freestyle and Matrix jobs this syntax works as expected.
          {code:java|title=Code Sample}
          #!groovy

          pipeline {

              agent {
                  node
                  {
                      label 'VS2022'
                  }
              }
              stages {
                  stage ('Perforce Fetch') {
                      steps {
          p4sync charset: 'none', credential: 'x1234567-1xxx-1234-xx12-1a23bc45d678', populate: autoClean(delete: true, modtime: true, parallel: [enable: true, minbytes: '4096', minfiles: '4', threads: '4'], pin: '', quiet: true, replace: true, tidy: false), source: depotSource(''' //depot/GroupID/ProductID/branches/7_60/project/... //jenkins-${NODE_NAME}-${JOB_NAME}-${EXECUTOR_NUMBER}/ProductID/trunk/project/...''')
                      }
                  }
              }
          }
          {code}
          {code:java|title=Resulting error message}
          Started by user <removed for Jira ticket>
          [Pipeline] Start of Pipeline
          [Pipeline] node
          Running on <removed for Jira ticket> in <removed for Jira ticket>
          [Pipeline] {
          [Pipeline] stage
          [Pipeline] { (Perforce Fetch)
          [Pipeline] p4sync
          Executor number at runtime: 0
          ... p4 login
           +
          ... p4 login -s
           +
          ... p4 client -o <removed for Jira ticket>_PpLn-0
           +
          ... p4 info
           +
          ... p4 info
           +
          ... p4 client -o <removed for Jira ticket>_7-60_PpLn-0
           +
          ... p4 client -i
           +
          P4: Unable to setup workspace: com.perforce.p4java.exception.RequestException: Error in client specification.
          Error detected at line 16.
          Null directory (//) not allowed in '//depot/GroupID/ProductID/branches/7_60/project/... //jenkins-<removed for Jira ticket>_PpLn-0/ProductID/trunk/project/...'.

          at com.perforce.p4java.impl.mapbased.server.cmd.ResultMapParser.handleErrorStr(ResultMapParser.java:151)
          at com.perforce.p4java.impl.mapbased.server.cmd.ResultMapParser.parseCommandResultMapIfIsInfoMessageAsString(ResultMapParser.java:102)
          at com.perforce.p4java.impl.mapbased.server.cmd.ClientDelegator.updateClient(ClientDelegator.java:212)
          at com.perforce.p4java.impl.mapbased.server.Server.updateClient(Server.java:1784)
          at com.perforce.p4java.impl.mapbased.client.Client.update(Client.java:524)
          at org.jenkinsci.plugins.p4.client.ClientHelper.updateClient(ClientHelper.java:191)
          at org.jenkinsci.plugins.p4.client.ClientHelper.clientLogin(ClientHelper.java:170)
          at org.jenkinsci.plugins.p4.client.ClientHelper.<init>(ClientHelper.java:104)
          at org.jenkinsci.plugins.p4.tasks.CheckoutTask.initialise(CheckoutTask.java:64)
          at org.jenkinsci.plugins.p4.PerforceScm.checkout(PerforceScm.java:578)
          at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:129)
          at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:97)
          at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:84)
          at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
          at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
          at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
          at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
          at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
          at java.base/java.lang.Thread.run(Unknown Source)

          [Pipeline] }
          [Pipeline] // stage
          [Pipeline] }
          [Pipeline] // node
          [Pipeline] End of Pipeline
          ERROR: P4: Unable to initialise CheckoutTask: hudson.AbortException: Error in client specification.
          Error detected at line 16.
          Null directory (//) not allowed in '//depot/GroupID/ProductID/branches/7_60/project/... //jenkins-<removed for Jira ticket>_PpLn-0//ProductID/trunk/project/...'.

          Finished: FAILURE
          {code}
          John made changes -
          Description Original: A Pipeline job attempting to use the Perforce/Jenkins variables throws an exception when executed. Note in Freestyle and Matrix jobs this syntax works as expected.
          {code:java|title=Code Sample}
          #!groovy

          pipeline {

              agent {
                  node
                  {
                      label 'VS2022'
                  }
              }
              stages {
                  stage ('Perforce Fetch') {
                      steps {
          p4sync charset: 'none', credential: 'x1234567-1xxx-1234-xx12-1a23bc45d678', populate: autoClean(delete: true, modtime: true, parallel: [enable: true, minbytes: '4096', minfiles: '4', threads: '4'], pin: '', quiet: true, replace: true, tidy: false), source: depotSource(''' //depot/GroupID/ProductID/branches/7_60/project/... //jenkins-${NODE_NAME}-${JOB_NAME}-${EXECUTOR_NUMBER}/ProductID/trunk/project/...''')
                      }
                  }
              }
          }
          {code}
          {code:java|title=Resulting error message}
          Started by user <removed for Jira ticket>
          [Pipeline] Start of Pipeline
          [Pipeline] node
          Running on <removed for Jira ticket> in <removed for Jira ticket>
          [Pipeline] {
          [Pipeline] stage
          [Pipeline] { (Perforce Fetch)
          [Pipeline] p4sync
          Executor number at runtime: 0
          ... p4 login
           +
          ... p4 login -s
           +
          ... p4 client -o <removed for Jira ticket>_PpLn-0
           +
          ... p4 info
           +
          ... p4 info
           +
          ... p4 client -o <removed for Jira ticket>_7-60_PpLn-0
           +
          ... p4 client -i
           +
          P4: Unable to setup workspace: com.perforce.p4java.exception.RequestException: Error in client specification.
          Error detected at line 16.
          Null directory (//) not allowed in '//depot/GroupID/ProductID/branches/7_60/project/... //jenkins-<removed for Jira ticket>_PpLn-0/ProductID/trunk/project/...'.

          at com.perforce.p4java.impl.mapbased.server.cmd.ResultMapParser.handleErrorStr(ResultMapParser.java:151)
          at com.perforce.p4java.impl.mapbased.server.cmd.ResultMapParser.parseCommandResultMapIfIsInfoMessageAsString(ResultMapParser.java:102)
          at com.perforce.p4java.impl.mapbased.server.cmd.ClientDelegator.updateClient(ClientDelegator.java:212)
          at com.perforce.p4java.impl.mapbased.server.Server.updateClient(Server.java:1784)
          at com.perforce.p4java.impl.mapbased.client.Client.update(Client.java:524)
          at org.jenkinsci.plugins.p4.client.ClientHelper.updateClient(ClientHelper.java:191)
          at org.jenkinsci.plugins.p4.client.ClientHelper.clientLogin(ClientHelper.java:170)
          at org.jenkinsci.plugins.p4.client.ClientHelper.<init>(ClientHelper.java:104)
          at org.jenkinsci.plugins.p4.tasks.CheckoutTask.initialise(CheckoutTask.java:64)
          at org.jenkinsci.plugins.p4.PerforceScm.checkout(PerforceScm.java:578)
          at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:129)
          at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:97)
          at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:84)
          at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
          at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
          at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
          at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
          at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
          at java.base/java.lang.Thread.run(Unknown Source)

          [Pipeline] }
          [Pipeline] // stage
          [Pipeline] }
          [Pipeline] // node
          [Pipeline] End of Pipeline
          ERROR: P4: Unable to initialise CheckoutTask: hudson.AbortException: Error in client specification.
          Error detected at line 16.
          Null directory (//) not allowed in '//depot/GroupID/ProductID/branches/7_60/project/... //jenkins-<removed for Jira ticket>_PpLn-0//ProductID/trunk/project/...'.

          Finished: FAILURE
          {code}
          New: A Pipeline job attempting to use the Perforce/Jenkins variables throws an exception when executed. Note in Freestyle and Matrix jobs this syntax works as expected.
          {code:java|title=Code Sample}
          #!groovy

          pipeline {

              agent {
                  node
                  {
                      label 'VS2022'
                  }
              }
              stages {
                  stage ('Perforce Fetch') {
                      steps {
          p4sync charset: 'none', credential: 'x1234567-1xxx-1234-xx12-1a23bc45d678', populate: autoClean(delete: true, modtime: true, parallel: [enable: true, minbytes: '4096', minfiles: '4', threads: '4'], pin: '', quiet: true, replace: true, tidy: false), source: depotSource(''' //depot/GroupID/ProductID/branches/7_60/project/... //jenkins-${NODE_NAME}-${JOB_NAME}-${EXECUTOR_NUMBER}/ProductID/trunk/project/...''')
                      }
                  }
              }
          }
          {code}
          {code:java|title=Resulting error message}
          Started by user <removed for Jira ticket>
          [Pipeline] Start of Pipeline
          [Pipeline] node
          Running on <removed for Jira ticket> in <removed for Jira ticket>
          [Pipeline] {
          [Pipeline] stage
          [Pipeline] { (Perforce Fetch)
          [Pipeline] p4sync
          Executor number at runtime: 0
          ... p4 login
           +
          ... p4 login -s
           +
          ... p4 client -o <removed for Jira ticket>_PpLn-0
           +
          ... p4 info
           +
          ... p4 info
           +
          ... p4 client -o <removed for Jira ticket>_7-60_PpLn-0
           +
          ... p4 client -i
           +
          P4: Unable to setup workspace: com.perforce.p4java.exception.RequestException: Error in client specification.
          Error detected at line 16.
          Null directory (//) not allowed in '//depot/GroupID/ProductID/branches/7_60/project/... //jenkins-<removed for Jira ticket>_PpLn-0/ProductID/trunk/project/...'.

          at com.perforce.p4java.impl.mapbased.server.cmd.ResultMapParser.handleErrorStr(ResultMapParser.java:151)
          at com.perforce.p4java.impl.mapbased.server.cmd.ResultMapParser.parseCommandResultMapIfIsInfoMessageAsString(ResultMapParser.java:102)
          at com.perforce.p4java.impl.mapbased.server.cmd.ClientDelegator.updateClient(ClientDelegator.java:212)
          at com.perforce.p4java.impl.mapbased.server.Server.updateClient(Server.java:1784)
          at com.perforce.p4java.impl.mapbased.client.Client.update(Client.java:524)
          at org.jenkinsci.plugins.p4.client.ClientHelper.updateClient(ClientHelper.java:191)
          at org.jenkinsci.plugins.p4.client.ClientHelper.clientLogin(ClientHelper.java:170)
          at org.jenkinsci.plugins.p4.client.ClientHelper.<init>(ClientHelper.java:104)
          at org.jenkinsci.plugins.p4.tasks.CheckoutTask.initialise(CheckoutTask.java:64)
          at org.jenkinsci.plugins.p4.PerforceScm.checkout(PerforceScm.java:578)
          at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:129)
          at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:97)
          at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:84)
          at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
          at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
          at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
          at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
          at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
          at java.base/java.lang.Thread.run(Unknown Source)

          [Pipeline] }
          [Pipeline] // stage
          [Pipeline] }
          [Pipeline] // node
          [Pipeline] End of Pipeline
          ERROR: P4: Unable to initialise CheckoutTask: hudson.AbortException: Error in client specification.
          Error detected at line 16.
          Null directory (//) not allowed in '//depot/GroupID/ProductID/branches/7_60/project/... //jenkins-<removed for Jira ticket>_PpLn-0//ProductID/trunk/project/...'.

          Finished: FAILURE
          {code}
          John made changes -
          Environment Original: Jenkins 2.361.1 - Installed with Windows installer.
          Windows Server 2019 Version 1809 17763.3287
          Java 11.0.13 (version installed with Jenkins)

          {code:title=Installed Plugins}
          Jenkins: 2.361.1
          OS: Windows Server 2019 - 10.0
          ---
          ace-editor:1.1
          active-directory:2.26
          antisamy-markup-formatter:2.7
          apache-httpcomponents-client-4-api:4.5.13-138.v4e7d9a_7b_a_e61
          authentication-tokens:1.4
          bootstrap4-api:4.6.0-5
          bootstrap5-api:5.2.0-3
          bouncycastle-api:2.26
          branch-api:2.1046.v0ca_37783ecc5
          build-timeout:1.24
          caffeine-api:2.9.3-65.v6a_47d0f4d1fe
          checks-api:1.7.5
          cloudbees-folder:6.758.vfd75d09eea_a_1
          command-launcher:84.v4a_97f2027398
          conditional-buildstep:1.4.2
          credentials:1143.vb_e8b_b_ceee347
          credentials-binding:523.vd859a_4b_122e6
          dark-theme:245.vb_a_2b_b_010ea_96
          display-url-api:2.3.6
          durable-task:500.v8927d9fd99d8
          echarts-api:5.3.3-1
          email-ext:2.91
          external-monitor-job:192.ve979ca_8b_3ccd
          font-awesome-api:6.1.2-1
          generic-webhook-trigger:1.84
          git:4.11.5
          git-changelog:3.23
          git-client:3.11.2
          git-parameter:0.9.17
          git-server:99.va_0826a_b_cdfa_d
          github:1.35.0
          github-api:1.303-400.v35c2d8258028
          github-branch-source:1694.vd46793a_c4a_57
          github-oauth:0.39
          gitlab-api:5.0.1-78.v47a_45b_9f78b_7
          gitlab-branch-source:636.v55fd8144d335
          gitlab-logo:1.0.5
          gitlab-merge-request-jenkins:2.0.0
          gitlab-plugin:1.5.35
          handlebars:3.0.8
          handy-uri-templates-2-api:2.1.8-22.v77d5b_75e6953
          instance-identity:116.vf8f487400980
          jackson2-api:2.13.3-285.vc03c0256d517
          jakarta-activation-api:2.0.1-1
          jakarta-mail-api:2.0.1-1
          javadoc:226.v71211feb_e7e9
          javax-activation-api:1.2.0-4
          javax-mail-api:1.6.2-7
          jaxb:2.3.6-1
          jdk-tool:55.v1b_32b_6ca_f9ca
          jersey2-api:2.37-1
          jjwt-api:0.11.5-77.v646c772fddb_0
          jquery:1.12.4-1
          jquery-detached:1.2.1
          jquery3-api:3.6.0-4
          jsch:0.1.55.61.va_e9ee26616e7
          junit:1119.1121.vc43d0fc45561
          ldap:2.12
          lockable-resources:2.16
          log-parser:2.2
          mailer:438.v02c7f0a_12fa_4
          mapdb-api:1.0.9-28.vf251ce40855d
          matrix-auth:3.1.5
          matrix-project:785.v06b_7f47b_c631
          maven-plugin:3.19
          mina-sshd-api-common:2.8.0-36.v8e25ce90d4b_1
          mina-sshd-api-core:2.8.0-36.v8e25ce90d4b_1
          momentjs:1.1.1
          msbuild:1.30
          naginator:1.18.1
          nunit:0.27
          okhttp-api:4.9.3-108.v0feda04578cf
          p4:1.13.0
          pam-auth:1.10
          parameterized-trigger:2.45
          pipeline-build-step:2.18
          pipeline-github-lib:38.v445716ea_edda_
          pipeline-githubnotify-step:49.vf37bf92d2bc8
          pipeline-graph-analysis:195.v5812d95a_a_2f9
          pipeline-groovy-lib:612.v84da_9c54906d
          pipeline-input-step:449.v77f0e8b_845c4
          pipeline-milestone-step:101.vd572fef9d926
          pipeline-model-api:2.2114.v2654ca_721309
          pipeline-model-definition:2.2114.v2654ca_721309
          pipeline-model-extensions:2.2114.v2654ca_721309
          pipeline-rest-api:2.24
          pipeline-stage-step:296.v5f6908f017a_5
          pipeline-stage-tags-metadata:2.2114.v2654ca_721309
          pipeline-stage-view:2.24
          plain-credentials:139.ved2b_9cf7587b
          plugin-util-api:2.17.0
          popper-api:1.16.1-3
          popper2-api:2.11.6-1
          powershell:1.7
          resource-disposer:0.20
          run-condition:1.5
          scm-api:621.vda_a_b_055e58f7
          script-security:1175.v4b_d517d6db_f0
          slack:616.v03b_1e98d13dd
          snakeyaml-api:1.31-84.ve43da_fb_49d0b
          ssh-credentials:305.v8f4381501156
          sshd:3.249.v2dc2ea_416e33
          structs:324.va_f5d6774f3a_d
          theme-manager:1.5
          throttle-concurrents:2.9
          timestamper:1.19
          token-macro:308.v4f2b_ed62b_b_16
          trilead-api:1.67.vc3938a_35172f
          variant:59.vf075fe829ccb
          violation-comments-to-gitlab:2.55
          windows-slaves:1.8.1
          wix:1.12
          workflow-aggregator:590.v6a_d052e5a_a_b_5
          workflow-api:1192.v2d0deb_19d212
          workflow-basic-steps:994.vd57e3ca_46d24
          workflow-cps:2759.v87459c4eea_ca_
          workflow-durable-task-step:1199.v02b_9244f8064
          workflow-job:1232.v5a_4c994312f1
          workflow-multibranch:716.vc692a_e52371b_
          workflow-scm-step:400.v6b_89a_1317c9a_
          workflow-step-api:639.v6eca_cd8c04a_a_
          workflow-support:838.va_3a_087b_4055b
          ws-cleanup:0.43
          {code}
          New: Jenkins 2.361.1 - Installed with Windows installer.
          Windows Server 2019 Version 1809 17763.3287
          Java 11.0.13 (version installed with Jenkins)

          Jenkins: 2.361.1
          OS: Windows Server 2019 - 10.0
          ---
          ace-editor:1.1
          active-directory:2.26
          antisamy-markup-formatter:2.7
          apache-httpcomponents-client-4-api:4.5.13-138.v4e7d9a_7b_a_e61
          authentication-tokens:1.4
          bootstrap4-api:4.6.0-5
          bootstrap5-api:5.2.0-3
          bouncycastle-api:2.26
          branch-api:2.1046.v0ca_37783ecc5
          build-timeout:1.24
          caffeine-api:2.9.3-65.v6a_47d0f4d1fe
          checks-api:1.7.5
          cloudbees-folder:6.758.vfd75d09eea_a_1
          command-launcher:84.v4a_97f2027398
          conditional-buildstep:1.4.2
          credentials:1143.vb_e8b_b_ceee347
          credentials-binding:523.vd859a_4b_122e6
          dark-theme:245.vb_a_2b_b_010ea_96
          display-url-api:2.3.6
          durable-task:500.v8927d9fd99d8
          echarts-api:5.3.3-1
          email-ext:2.91
          external-monitor-job:192.ve979ca_8b_3ccd
          font-awesome-api:6.1.2-1
          generic-webhook-trigger:1.84
          git:4.11.5
          git-changelog:3.23
          git-client:3.11.2
          git-parameter:0.9.17
          git-server:99.va_0826a_b_cdfa_d
          github:1.35.0
          github-api:1.303-400.v35c2d8258028
          github-branch-source:1694.vd46793a_c4a_57
          github-oauth:0.39
          gitlab-api:5.0.1-78.v47a_45b_9f78b_7
          gitlab-branch-source:636.v55fd8144d335
          gitlab-logo:1.0.5
          gitlab-merge-request-jenkins:2.0.0
          gitlab-plugin:1.5.35
          handlebars:3.0.8
          handy-uri-templates-2-api:2.1.8-22.v77d5b_75e6953
          instance-identity:116.vf8f487400980
          jackson2-api:2.13.3-285.vc03c0256d517
          jakarta-activation-api:2.0.1-1
          jakarta-mail-api:2.0.1-1
          javadoc:226.v71211feb_e7e9
          javax-activation-api:1.2.0-4
          javax-mail-api:1.6.2-7
          jaxb:2.3.6-1
          jdk-tool:55.v1b_32b_6ca_f9ca
          jersey2-api:2.37-1
          jjwt-api:0.11.5-77.v646c772fddb_0
          jquery:1.12.4-1
          jquery-detached:1.2.1
          jquery3-api:3.6.0-4
          jsch:0.1.55.61.va_e9ee26616e7
          junit:1119.1121.vc43d0fc45561
          ldap:2.12
          lockable-resources:2.16
          log-parser:2.2
          mailer:438.v02c7f0a_12fa_4
          mapdb-api:1.0.9-28.vf251ce40855d
          matrix-auth:3.1.5
          matrix-project:785.v06b_7f47b_c631
          maven-plugin:3.19
          mina-sshd-api-common:2.8.0-36.v8e25ce90d4b_1
          mina-sshd-api-core:2.8.0-36.v8e25ce90d4b_1
          momentjs:1.1.1
          msbuild:1.30
          naginator:1.18.1
          nunit:0.27
          okhttp-api:4.9.3-108.v0feda04578cf
          p4:1.13.0
          pam-auth:1.10
          parameterized-trigger:2.45
          pipeline-build-step:2.18
          pipeline-github-lib:38.v445716ea_edda_
          pipeline-githubnotify-step:49.vf37bf92d2bc8
          pipeline-graph-analysis:195.v5812d95a_a_2f9
          pipeline-groovy-lib:612.v84da_9c54906d
          pipeline-input-step:449.v77f0e8b_845c4
          pipeline-milestone-step:101.vd572fef9d926
          pipeline-model-api:2.2114.v2654ca_721309
          pipeline-model-definition:2.2114.v2654ca_721309
          pipeline-model-extensions:2.2114.v2654ca_721309
          pipeline-rest-api:2.24
          pipeline-stage-step:296.v5f6908f017a_5
          pipeline-stage-tags-metadata:2.2114.v2654ca_721309
          pipeline-stage-view:2.24
          plain-credentials:139.ved2b_9cf7587b
          plugin-util-api:2.17.0
          popper-api:1.16.1-3
          popper2-api:2.11.6-1
          powershell:1.7
          resource-disposer:0.20
          run-condition:1.5
          scm-api:621.vda_a_b_055e58f7
          script-security:1175.v4b_d517d6db_f0
          slack:616.v03b_1e98d13dd
          snakeyaml-api:1.31-84.ve43da_fb_49d0b
          ssh-credentials:305.v8f4381501156
          sshd:3.249.v2dc2ea_416e33
          structs:324.va_f5d6774f3a_d
          theme-manager:1.5
          throttle-concurrents:2.9
          timestamper:1.19
          token-macro:308.v4f2b_ed62b_b_16
          trilead-api:1.67.vc3938a_35172f
          variant:59.vf075fe829ccb
          violation-comments-to-gitlab:2.55
          windows-slaves:1.8.1
          wix:1.12
          workflow-aggregator:590.v6a_d052e5a_a_b_5
          workflow-api:1192.v2d0deb_19d212
          workflow-basic-steps:994.vd57e3ca_46d24
          workflow-cps:2759.v87459c4eea_ca_
          workflow-durable-task-step:1199.v02b_9244f8064
          workflow-job:1232.v5a_4c994312f1
          workflow-multibranch:716.vc692a_e52371b_
          workflow-scm-step:400.v6b_89a_1317c9a_
          workflow-step-api:639.v6eca_cd8c04a_a_
          workflow-support:838.va_3a_087b_4055b
          ws-cleanup:0.43
          John made changes -
          Environment Original: Jenkins 2.361.1 - Installed with Windows installer.
          Windows Server 2019 Version 1809 17763.3287
          Java 11.0.13 (version installed with Jenkins)

          Jenkins: 2.361.1
          OS: Windows Server 2019 - 10.0
          ---
          ace-editor:1.1
          active-directory:2.26
          antisamy-markup-formatter:2.7
          apache-httpcomponents-client-4-api:4.5.13-138.v4e7d9a_7b_a_e61
          authentication-tokens:1.4
          bootstrap4-api:4.6.0-5
          bootstrap5-api:5.2.0-3
          bouncycastle-api:2.26
          branch-api:2.1046.v0ca_37783ecc5
          build-timeout:1.24
          caffeine-api:2.9.3-65.v6a_47d0f4d1fe
          checks-api:1.7.5
          cloudbees-folder:6.758.vfd75d09eea_a_1
          command-launcher:84.v4a_97f2027398
          conditional-buildstep:1.4.2
          credentials:1143.vb_e8b_b_ceee347
          credentials-binding:523.vd859a_4b_122e6
          dark-theme:245.vb_a_2b_b_010ea_96
          display-url-api:2.3.6
          durable-task:500.v8927d9fd99d8
          echarts-api:5.3.3-1
          email-ext:2.91
          external-monitor-job:192.ve979ca_8b_3ccd
          font-awesome-api:6.1.2-1
          generic-webhook-trigger:1.84
          git:4.11.5
          git-changelog:3.23
          git-client:3.11.2
          git-parameter:0.9.17
          git-server:99.va_0826a_b_cdfa_d
          github:1.35.0
          github-api:1.303-400.v35c2d8258028
          github-branch-source:1694.vd46793a_c4a_57
          github-oauth:0.39
          gitlab-api:5.0.1-78.v47a_45b_9f78b_7
          gitlab-branch-source:636.v55fd8144d335
          gitlab-logo:1.0.5
          gitlab-merge-request-jenkins:2.0.0
          gitlab-plugin:1.5.35
          handlebars:3.0.8
          handy-uri-templates-2-api:2.1.8-22.v77d5b_75e6953
          instance-identity:116.vf8f487400980
          jackson2-api:2.13.3-285.vc03c0256d517
          jakarta-activation-api:2.0.1-1
          jakarta-mail-api:2.0.1-1
          javadoc:226.v71211feb_e7e9
          javax-activation-api:1.2.0-4
          javax-mail-api:1.6.2-7
          jaxb:2.3.6-1
          jdk-tool:55.v1b_32b_6ca_f9ca
          jersey2-api:2.37-1
          jjwt-api:0.11.5-77.v646c772fddb_0
          jquery:1.12.4-1
          jquery-detached:1.2.1
          jquery3-api:3.6.0-4
          jsch:0.1.55.61.va_e9ee26616e7
          junit:1119.1121.vc43d0fc45561
          ldap:2.12
          lockable-resources:2.16
          log-parser:2.2
          mailer:438.v02c7f0a_12fa_4
          mapdb-api:1.0.9-28.vf251ce40855d
          matrix-auth:3.1.5
          matrix-project:785.v06b_7f47b_c631
          maven-plugin:3.19
          mina-sshd-api-common:2.8.0-36.v8e25ce90d4b_1
          mina-sshd-api-core:2.8.0-36.v8e25ce90d4b_1
          momentjs:1.1.1
          msbuild:1.30
          naginator:1.18.1
          nunit:0.27
          okhttp-api:4.9.3-108.v0feda04578cf
          p4:1.13.0
          pam-auth:1.10
          parameterized-trigger:2.45
          pipeline-build-step:2.18
          pipeline-github-lib:38.v445716ea_edda_
          pipeline-githubnotify-step:49.vf37bf92d2bc8
          pipeline-graph-analysis:195.v5812d95a_a_2f9
          pipeline-groovy-lib:612.v84da_9c54906d
          pipeline-input-step:449.v77f0e8b_845c4
          pipeline-milestone-step:101.vd572fef9d926
          pipeline-model-api:2.2114.v2654ca_721309
          pipeline-model-definition:2.2114.v2654ca_721309
          pipeline-model-extensions:2.2114.v2654ca_721309
          pipeline-rest-api:2.24
          pipeline-stage-step:296.v5f6908f017a_5
          pipeline-stage-tags-metadata:2.2114.v2654ca_721309
          pipeline-stage-view:2.24
          plain-credentials:139.ved2b_9cf7587b
          plugin-util-api:2.17.0
          popper-api:1.16.1-3
          popper2-api:2.11.6-1
          powershell:1.7
          resource-disposer:0.20
          run-condition:1.5
          scm-api:621.vda_a_b_055e58f7
          script-security:1175.v4b_d517d6db_f0
          slack:616.v03b_1e98d13dd
          snakeyaml-api:1.31-84.ve43da_fb_49d0b
          ssh-credentials:305.v8f4381501156
          sshd:3.249.v2dc2ea_416e33
          structs:324.va_f5d6774f3a_d
          theme-manager:1.5
          throttle-concurrents:2.9
          timestamper:1.19
          token-macro:308.v4f2b_ed62b_b_16
          trilead-api:1.67.vc3938a_35172f
          variant:59.vf075fe829ccb
          violation-comments-to-gitlab:2.55
          windows-slaves:1.8.1
          wix:1.12
          workflow-aggregator:590.v6a_d052e5a_a_b_5
          workflow-api:1192.v2d0deb_19d212
          workflow-basic-steps:994.vd57e3ca_46d24
          workflow-cps:2759.v87459c4eea_ca_
          workflow-durable-task-step:1199.v02b_9244f8064
          workflow-job:1232.v5a_4c994312f1
          workflow-multibranch:716.vc692a_e52371b_
          workflow-scm-step:400.v6b_89a_1317c9a_
          workflow-step-api:639.v6eca_cd8c04a_a_
          workflow-support:838.va_3a_087b_4055b
          ws-cleanup:0.43
          New: Java 11.0.13 (version installed with Jenkins)

          Jenkins: 2.361.1
          OS: Windows Server 2019 - 10.0
          ---
          ace-editor:1.1
          active-directory:2.26
          antisamy-markup-formatter:2.7
          apache-httpcomponents-client-4-api:4.5.13-138.v4e7d9a_7b_a_e61
          authentication-tokens:1.4
          bootstrap4-api:4.6.0-5
          bootstrap5-api:5.2.0-3
          bouncycastle-api:2.26
          branch-api:2.1046.v0ca_37783ecc5
          build-timeout:1.24
          caffeine-api:2.9.3-65.v6a_47d0f4d1fe
          checks-api:1.7.5
          cloudbees-folder:6.758.vfd75d09eea_a_1
          command-launcher:84.v4a_97f2027398
          conditional-buildstep:1.4.2
          credentials:1143.vb_e8b_b_ceee347
          credentials-binding:523.vd859a_4b_122e6
          dark-theme:245.vb_a_2b_b_010ea_96
          display-url-api:2.3.6
          durable-task:500.v8927d9fd99d8
          echarts-api:5.3.3-1
          email-ext:2.91
          external-monitor-job:192.ve979ca_8b_3ccd
          font-awesome-api:6.1.2-1
          generic-webhook-trigger:1.84
          git:4.11.5
          git-changelog:3.23
          git-client:3.11.2
          git-parameter:0.9.17
          git-server:99.va_0826a_b_cdfa_d
          github:1.35.0
          github-api:1.303-400.v35c2d8258028
          github-branch-source:1694.vd46793a_c4a_57
          github-oauth:0.39
          gitlab-api:5.0.1-78.v47a_45b_9f78b_7
          gitlab-branch-source:636.v55fd8144d335
          gitlab-logo:1.0.5
          gitlab-merge-request-jenkins:2.0.0
          gitlab-plugin:1.5.35
          handlebars:3.0.8
          handy-uri-templates-2-api:2.1.8-22.v77d5b_75e6953
          instance-identity:116.vf8f487400980
          jackson2-api:2.13.3-285.vc03c0256d517
          jakarta-activation-api:2.0.1-1
          jakarta-mail-api:2.0.1-1
          javadoc:226.v71211feb_e7e9
          javax-activation-api:1.2.0-4
          javax-mail-api:1.6.2-7
          jaxb:2.3.6-1
          jdk-tool:55.v1b_32b_6ca_f9ca
          jersey2-api:2.37-1
          jjwt-api:0.11.5-77.v646c772fddb_0
          jquery:1.12.4-1
          jquery-detached:1.2.1
          jquery3-api:3.6.0-4
          jsch:0.1.55.61.va_e9ee26616e7
          junit:1119.1121.vc43d0fc45561
          ldap:2.12
          lockable-resources:2.16
          log-parser:2.2
          mailer:438.v02c7f0a_12fa_4
          mapdb-api:1.0.9-28.vf251ce40855d
          matrix-auth:3.1.5
          matrix-project:785.v06b_7f47b_c631
          maven-plugin:3.19
          mina-sshd-api-common:2.8.0-36.v8e25ce90d4b_1
          mina-sshd-api-core:2.8.0-36.v8e25ce90d4b_1
          momentjs:1.1.1
          msbuild:1.30
          naginator:1.18.1
          nunit:0.27
          okhttp-api:4.9.3-108.v0feda04578cf
          p4:1.13.0
          pam-auth:1.10
          parameterized-trigger:2.45
          pipeline-build-step:2.18
          pipeline-github-lib:38.v445716ea_edda_
          pipeline-githubnotify-step:49.vf37bf92d2bc8
          pipeline-graph-analysis:195.v5812d95a_a_2f9
          pipeline-groovy-lib:612.v84da_9c54906d
          pipeline-input-step:449.v77f0e8b_845c4
          pipeline-milestone-step:101.vd572fef9d926
          pipeline-model-api:2.2114.v2654ca_721309
          pipeline-model-definition:2.2114.v2654ca_721309
          pipeline-model-extensions:2.2114.v2654ca_721309
          pipeline-rest-api:2.24
          pipeline-stage-step:296.v5f6908f017a_5
          pipeline-stage-tags-metadata:2.2114.v2654ca_721309
          pipeline-stage-view:2.24
          plain-credentials:139.ved2b_9cf7587b
          plugin-util-api:2.17.0
          popper-api:1.16.1-3
          popper2-api:2.11.6-1
          powershell:1.7
          resource-disposer:0.20
          run-condition:1.5
          scm-api:621.vda_a_b_055e58f7
          script-security:1175.v4b_d517d6db_f0
          slack:616.v03b_1e98d13dd
          snakeyaml-api:1.31-84.ve43da_fb_49d0b
          ssh-credentials:305.v8f4381501156
          sshd:3.249.v2dc2ea_416e33
          structs:324.va_f5d6774f3a_d
          theme-manager:1.5
          throttle-concurrents:2.9
          timestamper:1.19
          token-macro:308.v4f2b_ed62b_b_16
          trilead-api:1.67.vc3938a_35172f
          variant:59.vf075fe829ccb
          violation-comments-to-gitlab:2.55
          windows-slaves:1.8.1
          wix:1.12
          workflow-aggregator:590.v6a_d052e5a_a_b_5
          workflow-api:1192.v2d0deb_19d212
          workflow-basic-steps:994.vd57e3ca_46d24
          workflow-cps:2759.v87459c4eea_ca_
          workflow-durable-task-step:1199.v02b_9244f8064
          workflow-job:1232.v5a_4c994312f1
          workflow-multibranch:716.vc692a_e52371b_
          workflow-scm-step:400.v6b_89a_1317c9a_
          workflow-step-api:639.v6eca_cd8c04a_a_
          workflow-support:838.va_3a_087b_4055b
          ws-cleanup:0.43
          Karl Wirth made changes -
          Attachment New: image-2022-09-12-10-37-57-713.png [ 59062 ]

          Karl Wirth added a comment -

          Hi jgorden_sie - The 'p4sync' step only takes the left hand side of the view mapping. From the Jenkins syntax generator help:

          I just tested your code and it works if I only use the left hand side:

          , source: depotSource('''//depot/GroupID/ProductID/branches/7_60/project/...''')

          Note that 'p4sync' is intended to be an easy helper function so has reduced functionallity including a simplified view map. If you want to specify the full view you can use the 'checkout' step which takes normal Perforce client views.

          Regards,

          Karl

          Karl Wirth added a comment - Hi jgorden_sie - The 'p4sync' step only takes the left hand side of the view mapping. From the Jenkins syntax generator help: I just tested your code and it works if I only use the left hand side: , source: depotSource( ''' //depot/GroupID/ProductID/branches/7_60/project/...' '') Note that 'p4sync' is intended to be an easy helper function so has reduced functionallity including a simplified view map. If you want to specify the full view you can use the 'checkout' step which takes normal Perforce client views. Regards, Karl

            Unassigned Unassigned
            jgorden_sie John
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: