hudson.plugins.perforce.utils.ParameterSubstitutionException: <jenkins_${nodename}_evo11main>: Found unresolved macro at 'jenkins_${nodename}_evo11main'

Jenkins JIRA | Richard Taylor | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    After installing perforce plugin 1.3.25 all jobs failed to sync with the error below. Reverting to 1.3.24 made the issue go away. All of our jobs set the following fields in the perforce plugin. Workspace (client) jenkins_${nodename}_evo11main Client name format for slaves jenkins_${nodename}_evo11main We have 0 executors on the Jenkins master and all work is done on slaves. 00:00:00.377 hudson.plugins.perforce.utils.ParameterSubstitutionException: <jenkins_${nodename}_evo11main>: Found unresolved macro at 'jenkins_${nodename}_evo11main' 00:00:00.377 at hudson.plugins.perforce.utils.MacroStringHelper.checkString(MacroStringHelper.java:96) 00:00:00.377 at hudson.plugins.perforce.utils.MacroStringHelper.substituteParameters(MacroStringHelper.java:79) 00:00:00.377 at hudson.plugins.perforce.PerforceSCM.getDepot(PerforceSCM.java:410) 00:00:00.377 at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:809) 00:00:00.377 at hudson.model.AbstractProject.checkout(AbstractProject.java:1369) 00:00:00.377 at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:676) 00:00:00.377 at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) 00:00:00.377 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:581) 00:00:00.378 at hudson.model.Run.execute(Run.java:1576) 00:00:00.378 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 00:00:00.378 at hudson.model.ResourceController.execute(ResourceController.java:88) 00:00:00.378 at hudson.model.Executor.run(Executor.java:241) There is an example of our perforce plugin settings. <scm class="hudson.plugins.perforce.PerforceSCM" plugin="perforce@1.3.24"> <configVersion>1</configVersion> <p4User>***REMOVED***</p4User> <p4Passwd>***REMOVED***</p4Passwd> <p4Port>***REMOVED***</p4Port> <p4Client>jenkins_${nodename}_evo11main</p4Client> <clientSpec>//depot/evolution/studio/Jenkins/clientview_evo11dx11.txt</clientSpec> <projectOptions>noallwrite clobber nocompress unlocked nomodtime rmdir</projectOptions> <p4SysDrive>C:</p4SysDrive> <p4SysRoot>C:\WINDOWS</p4SysRoot> <browser class="hudson.plugins.perforce.browsers.P4Web"> <url>***REMOVED***</url> <p4WebEndShite>?ac=22</p4WebEndShite> <p4DifEndShite>?ac=19</p4DifEndShite> <p4ClEndShite>?ac=10</p4ClEndShite> </browser> <p4Tool>C:\\Program Files\\Perforce\\p4.exe</p4Tool> <useClientSpec>true</useClientSpec> <useStreamDepot>false</useStreamDepot> <forceSync>false</forceSync> <alwaysForceSync>false</alwaysForceSync> <dontUpdateServer>false</dontUpdateServer> <disableAutoSync>false</disableAutoSync> <disableChangeLogOnly>false</disableChangeLogOnly> <disableSyncOnly>false</disableSyncOnly> <showIntegChanges>false</showIntegChanges> <useOldClientName>false</useOldClientName> <createWorkspace>true</createWorkspace> <updateView>true</updateView> <dontRenameClient>false</dontRenameClient> <updateCounterValue>false</updateCounterValue> <dontUpdateClient>false</dontUpdateClient> <exposeP4Passwd>true</exposeP4Passwd> <wipeBeforeBuild>false</wipeBeforeBuild> <quickCleanBeforeBuild>false</quickCleanBeforeBuild> <restoreChangedDeletedFiles>false</restoreChangedDeletedFiles> <wipeRepoBeforeBuild>false</wipeRepoBeforeBuild> <firstChange>-1</firstChange> <fileLimit>100</fileLimit> <excludedFilesCaseSensitivity>true</excludedFilesCaseSensitivity> <slaveClientNameFormat>jenkins_${nodename}_evo11main</slaveClientNameFormat> <lineEndValue>local</lineEndValue> <useViewMask>false</useViewMask> <useViewMaskForPolling>false</useViewMaskForPolling> <useViewMaskForSyncing>false</useViewMaskForSyncing> <pollOnlyOnMaster>false</pollOnlyOnMaster> <p4Charset>utf8</p4Charset> <p4CommandCharset>utf8</p4CommandCharset> </scm>

    Jenkins JIRA | 3 years ago | Richard Taylor
    hudson.plugins.perforce.utils.ParameterSubstitutionException: <jenkins_${nodename}_evo11main>: Found unresolved macro at 'jenkins_${nodename}_evo11main'
  2. 0

    After installing perforce plugin 1.3.25 all jobs failed to sync with the error below. Reverting to 1.3.24 made the issue go away. All of our jobs set the following fields in the perforce plugin. Workspace (client) jenkins_${nodename}_evo11main Client name format for slaves jenkins_${nodename}_evo11main We have 0 executors on the Jenkins master and all work is done on slaves. 00:00:00.377 hudson.plugins.perforce.utils.ParameterSubstitutionException: <jenkins_${nodename}_evo11main>: Found unresolved macro at 'jenkins_${nodename}_evo11main' 00:00:00.377 at hudson.plugins.perforce.utils.MacroStringHelper.checkString(MacroStringHelper.java:96) 00:00:00.377 at hudson.plugins.perforce.utils.MacroStringHelper.substituteParameters(MacroStringHelper.java:79) 00:00:00.377 at hudson.plugins.perforce.PerforceSCM.getDepot(PerforceSCM.java:410) 00:00:00.377 at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:809) 00:00:00.377 at hudson.model.AbstractProject.checkout(AbstractProject.java:1369) 00:00:00.377 at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:676) 00:00:00.377 at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) 00:00:00.377 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:581) 00:00:00.378 at hudson.model.Run.execute(Run.java:1576) 00:00:00.378 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 00:00:00.378 at hudson.model.ResourceController.execute(ResourceController.java:88) 00:00:00.378 at hudson.model.Executor.run(Executor.java:241) There is an example of our perforce plugin settings. <scm class="hudson.plugins.perforce.PerforceSCM" plugin="perforce@1.3.24"> <configVersion>1</configVersion> <p4User>***REMOVED***</p4User> <p4Passwd>***REMOVED***</p4Passwd> <p4Port>***REMOVED***</p4Port> <p4Client>jenkins_${nodename}_evo11main</p4Client> <clientSpec>//depot/evolution/studio/Jenkins/clientview_evo11dx11.txt</clientSpec> <projectOptions>noallwrite clobber nocompress unlocked nomodtime rmdir</projectOptions> <p4SysDrive>C:</p4SysDrive> <p4SysRoot>C:\WINDOWS</p4SysRoot> <browser class="hudson.plugins.perforce.browsers.P4Web"> <url>***REMOVED***</url> <p4WebEndShite>?ac=22</p4WebEndShite> <p4DifEndShite>?ac=19</p4DifEndShite> <p4ClEndShite>?ac=10</p4ClEndShite> </browser> <p4Tool>C:\\Program Files\\Perforce\\p4.exe</p4Tool> <useClientSpec>true</useClientSpec> <useStreamDepot>false</useStreamDepot> <forceSync>false</forceSync> <alwaysForceSync>false</alwaysForceSync> <dontUpdateServer>false</dontUpdateServer> <disableAutoSync>false</disableAutoSync> <disableChangeLogOnly>false</disableChangeLogOnly> <disableSyncOnly>false</disableSyncOnly> <showIntegChanges>false</showIntegChanges> <useOldClientName>false</useOldClientName> <createWorkspace>true</createWorkspace> <updateView>true</updateView> <dontRenameClient>false</dontRenameClient> <updateCounterValue>false</updateCounterValue> <dontUpdateClient>false</dontUpdateClient> <exposeP4Passwd>true</exposeP4Passwd> <wipeBeforeBuild>false</wipeBeforeBuild> <quickCleanBeforeBuild>false</quickCleanBeforeBuild> <restoreChangedDeletedFiles>false</restoreChangedDeletedFiles> <wipeRepoBeforeBuild>false</wipeRepoBeforeBuild> <firstChange>-1</firstChange> <fileLimit>100</fileLimit> <excludedFilesCaseSensitivity>true</excludedFilesCaseSensitivity> <slaveClientNameFormat>jenkins_${nodename}_evo11main</slaveClientNameFormat> <lineEndValue>local</lineEndValue> <useViewMask>false</useViewMask> <useViewMaskForPolling>false</useViewMaskForPolling> <useViewMaskForSyncing>false</useViewMaskForSyncing> <pollOnlyOnMaster>false</pollOnlyOnMaster> <p4Charset>utf8</p4Charset> <p4CommandCharset>utf8</p4CommandCharset> </scm>

    Jenkins JIRA | 3 years ago | Richard Taylor
    hudson.plugins.perforce.utils.ParameterSubstitutionException: <jenkins_${nodename}_evo11main>: Found unresolved macro at 'jenkins_${nodename}_evo11main'

    Root Cause Analysis

    1. hudson.plugins.perforce.utils.ParameterSubstitutionException

      <jenkins_${nodename}_evo11main>: Found unresolved macro at 'jenkins_${nodename}_evo11main'

      at hudson.plugins.perforce.utils.MacroStringHelper.checkString()
    2. hudson.plugins.perforce
      PerforceSCM.checkout
      1. hudson.plugins.perforce.utils.MacroStringHelper.checkString(MacroStringHelper.java:96)
      2. hudson.plugins.perforce.utils.MacroStringHelper.substituteParameters(MacroStringHelper.java:79)
      3. hudson.plugins.perforce.PerforceSCM.getDepot(PerforceSCM.java:410)
      4. hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:809)
      4 frames
    3. Hudson
      AbstractBuild$AbstractBuildExecution.defaultCheckout
      1. hudson.model.AbstractProject.checkout(AbstractProject.java:1369)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:676)
      2 frames
    4. jenkins.scm
      SCMCheckoutStrategy.checkout
      1. jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
      1 frame
    5. Hudson
      AbstractBuild$AbstractBuildExecution.run
      1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:581)
      1 frame