-
Notifications
You must be signed in to change notification settings - Fork 279
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[JENKINS-72059] Add new quality gate options to alter the stage only #1649
Conversation
import static org.mockito.Mockito.*; | ||
|
||
/** | ||
* Tests the class {@link QualityGate}. | ||
* | ||
* @author Ullrich Hafner | ||
*/ | ||
class QualityGateTest extends SerializableTest<QualityGate> { | ||
class QualityGateTest extends SerializableTest<WarningsQualityGate> { |
Check notice
Code scanning / CodeQL
Unused classes and interfaces Note test
@uhafner this would be a very useful option and I was actually looking for this, we are using the Git integration and it shows the whole build failed even if just one Quality Gate is failing. Even worse it is reported as a with the default the build is just marked as completely failed and it is very hard to find in the log WHY ... so this new option seems a good alternative here! |
Maybe we should propose a PR for |
That would be awesome but at the moment im not that deep in Jenkins plugin development to take action here. |
Downstream PR of jenkinsci/plugin-util-api-plugin#309.
Add support for setting the stage result without touching the overall build result.