-
Notifications
You must be signed in to change notification settings - Fork 53
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
Bugfix on retrieving plugin test types #271
Conversation
IIUC, if we missed this regression, I would love to see a test reproducing this issue. |
@@ -113,4 +113,17 @@ public void run(Config config, File baseDirectory, File buildLogFile, String... | |||
} | |||
} | |||
|
|||
private Set<String> getTypes(Config config) { | |||
if (config == null || config.userProperties == null || !config.userProperties.containsKey("types")) { | |||
return null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Default to surefire?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated to use surefire
as default here: 9f198e6
@batmat added an IT on 28ec40c but seems Jenkinsfile updates are not evaluated in the PR builder right? https://ci.jenkins.io/blue/organizations/jenkins/jenkinsci-libraries%2Fplugin-compat-tester/detail/PR-271/5/pipeline/ |
@imonteroperez I've refiled your IT as #272 TBH, for next times, I think you should be made an official maintainer, given that's not your first PR and you've got a special interest to make this repository work nicely :): https://github.com/jenkinsci/plugin-compat-tester/pulls?q=is%3Apr+author%3Aimonteroperez And same goes probably for @bmunozm BTW, given https://github.com/jenkinsci/plugin-compat-tester/pulls?q=is%3Apr+author%3Abmunozm @raul-arabaolaza @oleg-nenashev @jglick as currently declared maintainers, would some of you approve this? Thanks |
I contribute on occasion but would not consider myself a maintainer. |
IT worked as expected now: https://ci.jenkins.io/blue/organizations/jenkins/jenkinsci-libraries%2Fplugin-compat-tester/detail/PR-272/4/pipeline/171/ |
I do agree, both Bea and Ilde are as much as contributors as I am myself. |
OK, I'll add them then. Thanks |
This PR provides a bugfix on generating the report of failed tests based on its type
Context
surefire
based tests, also others likefailsafe
Problem statement
google-compute-engine
plugin:google-compute-engine
plugin:Solution and implementation details
userProperties
map inside the config provided to the runner@raul-arabaolaza @bmunozm @batmat