Comments (5)
The information about failing steps is formatted in FlowExecutionAnalyzer.java, so this issue belongs to jenkinsci/checks-api-plugin.
from checks-api-plugin.
Also, the unstable
step has the same issue:
Ideally it would show the actual message when in the unstable state as well.
from checks-api-plugin.
Thank you, @timja.
UnstableStep adds a WarningAction.
ErrorStep just throws an AbortException. I guess that is then translated to ErrorAction somewhere in workflow-cps-plugin.
from checks-api-plugin.
Should the formatting just special-case flowNode.getDisplayFunctionName()
equal to "error" and "unstable", or is there a better way to decide whether the name and arguments of the step are uninteresting?
from checks-api-plugin.
isStageNode already hardcodes the "stage" name, so hardcoding "error" and "unstable" as well would be consistent with that.
I imagine changes:
- In
getPotentialTitle
, ifflowNode
is an "error" step, then getwhereBuildFailed
from the first line of ErrorAction.getDisplayName() instead of formatting. - In
processErrorOrWarningRow
, ifflowNode
is an "error" or "unstable" step, and there is only one argument, and its value matcheserrorAction.getDisplayName()
orwarningAction.getMessage()
, then omit the step name and arguments from the output. Thus, if the "unstable" step somehow throws an actual error, then the step name and arguments would still be included.
from checks-api-plugin.
Related Issues (20)
- Do not report handled exceptions HOT 3
- Build log Output truncated. - print tail of log instead of head HOT 2
- Allow using specific credentials for Checks HOT 5
- How do I create a custom rerun check in Pipeline HOT 1
- 1.7.5: download plugin checks-api to file: status code: 403, reason phrase: Forbidden HOT 2
- Phantom release 1.7.5 of checks-api HOT 1
- Possibility Of Specifying Credentials HOT 3
- Fix flaky test `BuildStatusChecksPublisherITest.shouldPublishStageDetails`
- [Question] Hanging checks with "withChecks()" HOT 5
- Include optional checks publisher to warnError HOT 1
- [doc] How to get started? HOT 5
- How to publish checks from sub-jobs HOT 1
- Dependency Dashboard
- Tests fail on Java 21 with Mockito errors HOT 2
- Setting Status checks name does not change it from the default Jenkins HOT 4
- Dependencies of flattened POM of latest release do not match `MANIFEST.MF`
- Return information about the check
- checks not working for Bitbucket scm HOT 1
- Steps with labels are not logged as errors HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from checks-api-plugin.