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

build_timeout-plugin timeout causes exception in token marco plugin

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I recently installed several plugin and jenkins updates (now on jenkins 2.4). It appears there is a conflict between build_timeout-plugin and the Token Macro Plugin. When I try and run job with a timeout I get the following:

      FATAL: Could not evaluate macro
      org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Unrecognized macro 'timeout' in '${timeout}'
      at org.jenkinsci.plugins.tokenmacro.TokenMacro.expand(TokenMacro.java:207)
      at org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:246)
      at org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:232)
      at hudson.plugins.build_timeout.BuildTimeOutStrategy.expandAll(BuildTimeOutStrategy.java:108)
      at hudson.plugins.build_timeout.impl.AbsoluteTimeOutStrategy.getTimeOut(AbsoluteTimeOutStrategy.java:44)
      at hudson.plugins.build_timeout.BuildTimeoutWrapper$EnvironmentImpl.<init>(BuildTimeoutWrapper.java:166)
      at hudson.plugins.build_timeout.BuildTimeoutWrapper.setUp(BuildTimeoutWrapper.java:211)
      at hudson.model.Build$BuildExecution.doRun(Build.java:156)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
      at hudson.model.Run.execute(Run.java:1741)
      at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
      at hudson.model.ResourceController.execute(ResourceController.java:98)
      at hudson.model.Executor.run(Executor.java:410)
      FATAL: Unrecognized macro 'timeout' in '${timeout}'

      If I remove the build-timeout-plugin the error goes away.

        Attachments

        1. config.xml
          5 kB
        2. config(bob).xml
          4 kB
        3. screen1.png
          screen1.png
          71 kB
        4. screen2.png
          screen2.png
          74 kB
        5. screen3.png
          screen3.png
          60 kB

          Issue Links

            Activity

            imcdonald Ian McDonald created issue -
            oleg_nenashev Oleg Nenashev made changes -
            Field Original Value New Value
            Component/s build-timeout-plugin [ 15530 ]
            Component/s token-macro-plugin [ 15832 ]
            Component/s _unsorted [ 19622 ]
            oleg_nenashev Oleg Nenashev made changes -
            Assignee Oleg Nenashev [ oleg_nenashev ] Kohsuke Kawaguchi [ kohsuke ]
            oleg_nenashev Oleg Nenashev made changes -
            Assignee Kohsuke Kawaguchi [ kohsuke ] ikedam [ ikedam ]
            imcdonald Ian McDonald made changes -
            Attachment config.xml [ 32735 ]
            imcdonald Ian McDonald made changes -
            Attachment config(bob).xml [ 32742 ]
            Attachment screen1.png [ 32743 ]
            Attachment screen2.png [ 32744 ]
            Attachment screen3.png [ 32745 ]
            ikedam ikedam made changes -
            Link This issue duplicates JENKINS-34758 [ JENKINS-34758 ]
            ikedam ikedam made changes -
            Resolution Duplicate [ 3 ]
            Status Open [ 1 ] Closed [ 6 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 171053 ] JNJira + In-Review [ 210045 ]

              People

              Assignee:
              ikedam ikedam
              Reporter:
              imcdonald Ian McDonald
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: