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

FATAL: <${NODE_NAME}>: Found unresolved macro at '${NODE_NAME}'

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: perforce-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      Any of our jobs that we have trigger off P4 changes, we are seeing the mentioned error.

      We have all of our agents configured to use $

      {NODE_NAME} for the P4 Workspace.

      This is with the current version, 1.3.26

      Here is the callstack:
      
      

      Started on Dec 9, 2013 10:30:15 AM
      Looking for changes...
      FATAL: <${NODE_NAME}

      >: Found unresolved macro at '$

      {NODE_NAME}'
      hudson.plugins.perforce.utils.ParameterSubstitutionException: <${NODE_NAME}

      >: Found unresolved macro at '$

      {NODE_NAME}

      '
      at hudson.plugins.perforce.utils.MacroStringHelper.checkString(MacroStringHelper.java:97)
      at hudson.plugins.perforce.utils.MacroStringHelper.substituteParameters(MacroStringHelper.java:64)
      at hudson.plugins.perforce.PerforceSCM.getDepot(PerforceSCM.java:417)
      at hudson.plugins.perforce.PerforceSCM.compareRemoteRevisionWith(PerforceSCM.java:1226)
      at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356)
      at hudson.scm.SCM.poll(SCM.java:373)
      at hudson.model.AbstractProject._poll(AbstractProject.java:1582)
      at hudson.model.AbstractProject.poll(AbstractProject.java:1491)
      at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:439)
      at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:468)
      at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
      at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      at java.util.concurrent.FutureTask.run(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      Done. Took 4 ms
      No changes

      
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                oleg_nenashev Oleg Nenashev
                Reporter:
                rhummer Ryan Hummer
              • Votes:
                3 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: