jenkinsci / jenkinsci/junit-plugin
Removing Stacktrace Trim
- Dominant language
- Java
- Stars
- 87
- Forks
- 351
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 2
Description
### Jenkins and plugins versions report
Jenkins 2.332.1
junit plugin - 1119.va_a_5e9068da_d7
### What Operating System are you using (both controller, and any agents involved in the problem)?
Ubuntu 20.* (Docker)
### Reproduction steps
In a declarative pipeline:
`junit testResults: '**/findings.xml'`
For the giving `findings.xml`:
```
```
[](url)
### Expected Results
No `trim` in the Stacktrace, like:
```
Error
Missing space after the colon
Stacktrace
755 | METHOD GET_PRICING_APP_TEXT_SINGLE.
756 | DATA:lt_dd07v TYPE TABLE OF dd07v.
| ^
757 | DATA:lv_langu TYPE sy-langu.
```
### Actual Results
GitHub Pull Request - Checks:

JaaS - Blue Ocean (Tests):

JaaS - Classical (JUnit Test Result) [OK already]:

### Anything else?
_No response_
Contributor guide
Research direction
Start by reproducing the declarative pipeline case with the supplied findings.xml and inspect the JUnit result and stacktrace rendering entry points. Trace where the failure text is trimmed in the GitHub Checks and Blue Ocean presentations; done means the stacktrace retains the shown source lines without the trim while the classical JUnit result remains unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100