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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • p4-plugin
    • None

      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
      

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

              Created:
              Updated:
              Resolved: