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

Tune log level for macro evaluation exceptions in TokenUtils

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      If using Delivery Pipeline Plugin (DPP) 0.10.2 and template expansion in TokenUtils (using Token Macro plugin) fails, DPP will log stacktraces excessively. Although stacktraces are useful for troubleshooting and undesired consequence is that log files might fill up quickly if delivery pipeline views are constantly rendered.

      This will occur often when used together with Token Macro Plugin 2.0 or later for jobs where the workspace is no longer available. Workaround is to downgrade to Token Macro 1.9 or later on 1.x. Related to JENKINS-40763.

      Proposed solution is to tune the log level of the TokenUtils logging for MacroEvaluationExceptions.

        Attachments

          Issue Links

            Activity

            Hide
            tommysdk Tommy Tynjä added a comment -
            Show
            tommysdk Tommy Tynjä added a comment - Proposed solution in pull request: https://github.com/Diabol/delivery-pipeline-plugin/pull/231
            Show
            tommysdk Tommy Tynjä added a comment - Released in 0.10.3: https://github.com/Diabol/delivery-pipeline-plugin/releases/tag/release-0.10.3

              People

              Assignee:
              tommysdk Tommy Tynjä
              Reporter:
              tommysdk Tommy Tynjä
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: