jenkinsci / templating-engine-plugin

create tool-agnostic, templated pipelines to be shared by multiple teams
https://jenkinsci.github.io/templating-engine-plugin/latest/
Apache License 2.0
171 stars 58 forks source link

Add Configuration Validation to Application Environment parsing #292

Closed steven-terrana closed 2 years ago

steven-terrana commented 2 years ago

PR Details

fixes #253

also improves how AggregateExceptions are printed to the build log

Description

Previously AggregateException would print the individual exception messages but there was no way to see the stack traces for those individual exceptions.

previous screen shots ![image](https://user-images.githubusercontent.com/22510821/175426272-69cc1d7d-2b56-4bb1-a8c9-a894d67995b8.png)

When expanding the above image, you'd again just see the same message and single stack trace

expanded ![image](https://user-images.githubusercontent.com/22510821/175426318-ace8bda1-932e-48df-a739-54bb38542b9a.png)

This has been updated so that each exception message is individually printed and when expanded shows the stack track for that exception.

New Console Log Screenshot ![image](https://user-images.githubusercontent.com/22510821/175426399-03dfda36-bdfc-4d90-9c78-47d7b5e87aae.png)

How Has This Been Tested

unit tests

Types of Changes

Checklist