-
Notifications
You must be signed in to change notification settings - Fork 66
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
changes to overcome performance issues with huge fitnesse result files #10
Conversation
plugins » fitnesse-plugin #10 UNSTABLE |
Hi, Von: CloudBees pull request builder plugin [mailto:[email protected]] plugins » fitnesse-plugin #10https://jenkins.ci.cloudbees.com/job/plugins/job/fitnesse-plugin/10/ UNSTABLE — |
Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests |
logger.println("all-content: " + pageCounts.getAllContents().size()); | ||
logger.println("resultsFile: " + getFitnessePathToXmlResultsIn()); | ||
// logger.println("content: " + | ||
// pageCounts.getAllContents().values().iterator().next()); |
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.
Let's not leave commented-out code.
I think this would be a good addition to the project. Thanks for your efforts. Yes, please correct the unit tests. Also, having only had a chance to skim the code, why remove so much envVar references? |
plugins » fitnesse-plugin #11 SUCCESS |
Thanks for the review. I’d like to raise your attention to some ugly detail. To restore the saved fitnesse results (which are now in separate files) I had to store the filename (with directory) in the Jenkins-result. Is there a better way to retrieve the path to the current build in hudson.plugins.fitnesse.ResultsDetails.getDetailsHtml()?
Best regards Von: lessonz [mailto:[email protected]] I think this would be a good addition to the project. Thanks for your efforts. Yes, please correct the unit tests. Also, having only had a chance to skim the code, why remove so much envVar references? — |
@@ -73,17 +71,6 @@ private String getOption(String key, String valueIfKeyNotFound) { | |||
return valueIfKeyNotFound; | |||
} | |||
|
|||
private String getOption(String key, String valueIfKeyNotFound, EnvVars environment) { |
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.
This method, and calls to it, are what I was referring to with regards to your removing EnvVars references.
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.
Just seen the changes. This is maybe an issue with the Fork I created. Those changes are by mistake. Shall I restore the previous version?
Sorry
Rico
Von: lessonz [mailto:[email protected]]
Gesendet: Sonntag, 8. Dezember 2013 07:03
An: jenkinsci/fitnesse-plugin
Cc: Rico Gaudlitz
Betreff: Re: [fitnesse-plugin] changes to overcome performance issues with huge fitnesse result files (#10)
In src/main/java/hudson/plugins/fitnesse/FitnesseBuilder.java:
@@ -73,17 +71,6 @@ private String getOption(String key, String valueIfKeyNotFound) {
return valueIfKeyNotFound; }
- private String getOption(String key, String valueIfKeyNotFound, EnvVars environment) {
This method, and calls to it, are what I was referring to with regards to your removing EnvVars references.
—
Reply to this email directly or view it on GitHubhttps://github.com//pull/10/files#r8183926.
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.
Yes, please try to ensure only the files you intended to change are actually modified. Thanks!
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.
Compared all files now with the history. Hope that I reverted all unintentional changes.
Von: lessonz [mailto:[email protected]]
Gesendet: Dienstag, 10. Dezember 2013 07:12
An: jenkinsci/fitnesse-plugin
Cc: Rico Gaudlitz
Betreff: Re: [fitnesse-plugin] changes to overcome performance issues with huge fitnesse result files (#10)
In src/main/java/hudson/plugins/fitnesse/FitnesseBuilder.java:
@@ -73,17 +71,6 @@ private String getOption(String key, String valueIfKeyNotFound) {
return valueIfKeyNotFound; }
- private String getOption(String key, String valueIfKeyNotFound, EnvVars environment) {
Yes, please try to ensure only the files you intended to change are actually modified. Thanks!
—
Reply to this email directly or view it on GitHubhttps://github.com//pull/10/files#r8223222.
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.
I'm sorry, but I don't see your most recent changes. Perhaps you forgot to push them?
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.
That is right, I forgot to push it … . Did it now.
Von: lessonz [mailto:[email protected]]
Gesendet: Mittwoch, 11. Dezember 2013 07:07
An: jenkinsci/fitnesse-plugin
Cc: Rico Gaudlitz
Betreff: Re: [fitnesse-plugin] changes to overcome performance issues with huge fitnesse result files (#10)
In src/main/java/hudson/plugins/fitnesse/FitnesseBuilder.java:
@@ -73,17 +71,6 @@ private String getOption(String key, String valueIfKeyNotFound) {
return valueIfKeyNotFound; }
- private String getOption(String key, String valueIfKeyNotFound, EnvVars environment) {
I'm sorry, but I don't see your most recent changes. Perhaps you forgot to push them?
—
Reply to this email directly or view it on GitHubhttps://github.com//pull/10/files#r8258257.
Please understand I only relatively recently took over this plugin. I am only responsible for about a grand total of 5 lines of the code base so far. With regards to retrieving the path to the current build, this is something I'd have to look into further. |
plugins » fitnesse-plugin #12 SUCCESS |
changes to overcome performance issues with huge fitnesse result files
Thanks so much for working through the issues. It's greatly appreciated. |
Thank you as well for your patience and acceptance of the change. It was a pleasure to work on this. Von: lessonz [mailto:[email protected]] Thanks so much for working through the issues. It's greatly appreciated. — |
(several MP)
Hi,
our company had an issue with performance of this plugin due to huge fitnesse results. Since the fitnesse results are stored in build.xml this file had a size of several MB. Details are explained here: https://issues.jenkins-ci.org/browse/JENKINS-13936.
We overcome the issue as follows:
We would like to give back the changes if you are interested in. there is still some work to do
Please let me know if you are interested
Rico