[JIRA] (JENKINS-15324) email-ext static-analysis template show empty data for Findbugs if job is a Maven project
Ulli Hafner commented on JENKINS-15324 email-ext static-analysis template show empty data for Findbugs if job is a Maven project Ok, I see. Then the problem is not in email only. It is in the internal logic of the maven code: the aggregating action is not created when the build failed in a maven module. Until this is fixed you can use as a workaround the unstable thresholds and not the failed ones (i.e. a warning sets the build to unstable). Alternatively, as you already described use the freestyle project. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-15324) email-ext static-analysis template show empty data for Findbugs if job is a Maven project
Ulli Hafner commented on JENKINS-15324 email-ext static-analysis template show empty data for Findbugs if job is a Maven project Can you please show a screenshot of the build page of your maven project? Is there a difference between the stable and the failed build? When the result is there then it should be possible to navigate to the results in the email, too. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-15324) email-ext static-analysis template show empty data for Findbugs if job is a Maven project
hhuynh updated JENKINS-15324 email-ext static-analysis template show empty data for Findbugs if job is a Maven project I rerun it and took the a closer look and realized both Findbugs Warnings and Static Analysis Warnings disappeared after the failed run. I had to refresh the page to see that (otherwise, it would look like they're still there but they're actually links from successful build earlier). Screenshot attached. I have a temporarily instance of Jenkins running here http://173.167.103.153:8080 Change By: hhuynh (08/Oct/12 3:52 PM) Attachment: screenshot-4.jpg This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-15324) email-ext static-analysis template show empty data for Findbugs if job is a Maven project
Ulli Hafner commented on JENKINS-15324 email-ext static-analysis template show empty data for Findbugs if job is a Maven project Well, the NPE is fixed as far as I can see from your output. Now there is an empty result available. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-15324) email-ext static-analysis template show empty data for Findbugs if job is a Maven project
Ulli Hafner commented on JENKINS-15324 email-ext static-analysis template show empty data for Findbugs if job is a Maven project Can you please clarify your expectations? Did you enable the flag to run findbugs for failed builds, too? Maybe this flag needs to be clarified when used in conjunction with maven projects... This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-15324) email-ext static-analysis template show empty data for Findbugs if job is a Maven project
hhuynh commented on JENKINS-15324 email-ext static-analysis template show empty data for Findbugs if job is a Maven project My goal is to fail our build if there is new Finbugs error introduced into the code base and having the email reflects number of new errors that findbugs plugin found. These are the options that are selected for the Finbugs plugin: Run always Compute new warnings (based on reference build) Use delta for new warnings Only use stable builds as reference Status thresholds (New warnings): All priorities set to 0 As a test, after a first run, the job passed since it's first ever run and no new findbugs errors found. The email showed Findbugs statistics just fine. Then I intentionally checked in a Findbugs error to the one of my source class, the build ran and failed this time because Findbugs plugin saw the new warning threshold of 0 has been breached. Here is where the bug I filed came in: the email content of Findbugs statistics are all 0's (used to be empty strings). So you know that your build failed but you don't know that it failed because Findbugs found new errors. This email is quite vague to a developer. Also, this bug only exposes when you use a Maven style job. A freestyle job generates the right content in the email when the build failed due to Findbugs. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-15324) email-ext static-analysis template show empty data for Findbugs if job is a Maven project
hhuynh commented on JENKINS-15324 email-ext static-analysis template show empty data for Findbugs if job is a Maven project the report in the webpage is correct. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-15324) email-ext static-analysis template show empty data for Findbugs if job is a Maven project
Ulli Hafner commented on JENKINS-15324 email-ext static-analysis template show empty data for Findbugs if job is a Maven project I now released new versions of analysis-core and findbugs. This release contains the NPE fixes that I mentioned in the comments above. I'm not sure if this helps in your case... This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-15324) email-ext static-analysis template show empty data for Findbugs if job is a Maven project
hhuynh updated JENKINS-15324 email-ext static-analysis template show empty data for Findbugs if job is a Maven project I've updated to the latest releases of the Static Analysis Utilities 1.48 and Findbugs 4.45 and the bug still there. However this time, instead of empty string for data, I got 0's (see screen shot) Change By: hhuynh (05/Oct/12 10:15 PM) Attachment: screenshot-3.jpg This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-15324) email-ext static-analysis template show empty data for Findbugs if job is a Maven project
hhuynh commented on JENKINS-15324 email-ext static-analysis template show empty data for Findbugs if job is a Maven project I've tried putting ${FINDBUGS_NEW} token into static-analysis template with no luck. Empty string there also. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-15324) email-ext static-analysis template show empty data for Findbugs if job is a Maven project
Slide-O-Mix commented on JENKINS-15324 email-ext static-analysis template show empty data for Findbugs if job is a Maven project email-ext supports token-macro tokens, so if FINDBUGS_NEW is a token-macro token, then it should work. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-15324) email-ext static-analysis template show empty data for Findbugs if job is a Maven project
hhuynh commented on JENKINS-15324 email-ext static-analysis template show empty data for Findbugs if job is a Maven project While waiting for this fix, is there a different way to expose new findbugs warning count via token? I see from the doc that this token $FINDBUGS_NEW is produced but I'm not sure how to make use of it in the email template (or is it even possible?) This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-15324) email-ext static-analysis template show empty data for Findbugs if job is a Maven project
Ulli Hafner commented on JENKINS-15324 email-ext static-analysis template show empty data for Findbugs if job is a Maven project And please also attach the template that you are using. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-15324) email-ext static-analysis template show empty data for Findbugs if job is a Maven project
Ulli Hafner commented on JENKINS-15324 email-ext static-analysis template show empty data for Findbugs if job is a Maven project I can't reproduce the problem. On my machine I get results even with maven. Can you please attach one of your build.xml files that are produced by the maven job? This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-15324) email-ext static-analysis template show empty data for Findbugs if job is a Maven project
hhuynh updated JENKINS-15324 email-ext static-analysis template show empty data for Findbugs if job is a Maven project Change By: hhuynh (27/Sep/12 5:01 PM) Attachment: config.xml Attachment: static-analysis.jelly This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-15324) email-ext static-analysis template show empty data for Findbugs if job is a Maven project
Ulli Hafner commented on JENKINS-15324 email-ext static-analysis template show empty data for Findbugs if job is a Maven project Of course, there is no data when the build failed because Findbugs does not create a result Or am I missing something? This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-15324) email-ext static-analysis template show empty data for Findbugs if job is a Maven project
hhuynh commented on JENKINS-15324 email-ext static-analysis template show empty data for Findbugs if job is a Maven project There's no build.xml (project is Maven not Ant). The config.xml is of the job, not Jenkins master. Here's the screen shot. I printed out action.result and it's null if the build failed. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-15324) email-ext static-analysis template show empty data for Findbugs if job is a Maven project
hhuynh updated JENKINS-15324 email-ext static-analysis template show empty data for Findbugs if job is a Maven project Change By: hhuynh (27/Sep/12 7:07 PM) Attachment: build.xml This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-15324) email-ext static-analysis template show empty data for Findbugs if job is a Maven project
hhuynh updated JENKINS-15324 email-ext static-analysis template show empty data for Findbugs if job is a Maven project Change By: hhuynh (27/Sep/12 7:08 PM) Attachment: screenshot-1.jpg This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-15324) email-ext static-analysis template show empty data for Findbugs if job is a Maven project
Ulli Hafner resolved JENKINS-15324 as Fixed email-ext static-analysis template show empty data for Findbugs if job is a Maven project I see, this is a bug that I already have fixed recently. Now every maven build will always have a result. (Your build is a multi-module build?) The fix will be part of the next analysis core release... Change By: Ulli Hafner (27/Sep/12 7:28 PM) Status: Open Resolved Resolution: Fixed This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-15324) email-ext static-analysis template show empty data for Findbugs if job is a Maven project
hhuynh commented on JENKINS-15324 email-ext static-analysis template show empty data for Findbugs if job is a Maven project That's great. My test project is single module though. Can I download the new fix somewhere to test it? This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-15324) email-ext static-analysis template show empty data for Findbugs if job is a Maven project
Ulli Hafner commented on JENKINS-15324 email-ext static-analysis template show empty data for Findbugs if job is a Maven project You can use our public CI: https://buildhive.cloudbees.com/view/My%20Repositories/job/jenkinsci/job/analysis-core-plugin/ This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-15324) email-ext static-analysis template show empty data for Findbugs if job is a Maven project
Ulli Hafner reopened JENKINS-15324 email-ext static-analysis template show empty data for Findbugs if job is a Maven project Hmm, ok maybe the change was not related. (I changed a previous NPE when the maven result was accessed). Change By: Ulli Hafner (27/Sep/12 8:44 PM) Resolution: Fixed Status: Resolved Reopened This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-15324) email-ext static-analysis template show empty data for Findbugs if job is a Maven project
Ulli Hafner edited a comment on JENKINS-15324 email-ext static-analysis template show empty data for Findbugs if job is a Maven project Hmm, ok maybe the change was not related. (I fixed a previous NPE when the maven result was accessed). This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-15324) email-ext static-analysis template show empty data for Findbugs if job is a Maven project
Ulli Hafner commented on JENKINS-15324 email-ext static-analysis template show empty data for Findbugs if job is a Maven project Just a side note: what is shown on the build page for that build? Is there a result visible, or only for the other builds? This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-15324) email-ext static-analysis template show empty data for Findbugs if job is a Maven project
hhuynh commented on JENKINS-15324 email-ext static-analysis template show empty data for Findbugs if job is a Maven project I've attached the build page screen shot This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-15324) email-ext static-analysis template show empty data for Findbugs if job is a Maven project
hhuynh updated JENKINS-15324 email-ext static-analysis template show empty data for Findbugs if job is a Maven project Change By: hhuynh (28/Sep/12 12:53 AM) Attachment: screenshot-2.jpg This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-15324) email-ext static-analysis template show empty data for Findbugs if job is a Maven project
hhuynh created JENKINS-15324 email-ext static-analysis template show empty data for Findbugs if job is a Maven project Issue Type: Bug Assignee: Slide-O-Mix Attachments: stat.png Components: email-ext Created: 26/Sep/12 7:53 PM Description: email-ext 2.24.1, jenkins 1.483 I use static-analysis for a Maven project and all the warnings data come up empty (see attachment) If I switch it to Freestyle project, then the data shows up. Project: Jenkins Priority: Major Reporter: hhuynh This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-15324) email-ext static-analysis template show empty data for Findbugs if job is a Maven project
hhuynh updated JENKINS-15324 email-ext static-analysis template show empty data for Findbugs if job is a Maven project Change By: hhuynh (26/Sep/12 7:54 PM) Description: email-ext2.24.1,jenkins1.483Iusestatic-analysis template foraMavenprojectandallthewarningsdatacomeupempty(seeattachment)IfIswitchittoFreestyleproject,thenthedatashowsup. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-15324) email-ext static-analysis template show empty data for Findbugs if job is a Maven project
hhuynh updated JENKINS-15324 email-ext static-analysis template show empty data for Findbugs if job is a Maven project Change By: hhuynh (26/Sep/12 8:16 PM) Description: email-ext2.24.1,jenkins1.483 ,findbugsplugin4.44,StaticAnalysisUtilities1.47 Iusestatic-analysistemplateforaMavenprojectandallthewarningsdatacomeupempty(seeattachment)IfIswitchittoFreestyleproject,thenthedatashowsup. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-15324) email-ext static-analysis template show empty data for Findbugs if job is a Maven project
Slide-O-Mix commented on JENKINS-15324 email-ext static-analysis template show empty data for Findbugs if job is a Maven project This is not an issue with email-ext, external plugins used in templates are not the realm of the email-ext plugin. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-15324) email-ext static-analysis template show empty data for Findbugs if job is a Maven project
hhuynh commented on JENKINS-15324 email-ext static-analysis template show empty data for Findbugs if job is a Maven project Thanks for the clarification. Please direct the bug to its appropriate component. My guess is the Findbugs plugin in this case This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-15324) email-ext static-analysis template show empty data for Findbugs if job is a Maven project
hhuynh updated JENKINS-15324 email-ext static-analysis template show empty data for Findbugs if job is a Maven project Change By: hhuynh (26/Sep/12 8:25 PM) Component/s: findbugs This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-15324) email-ext static-analysis template show empty data for Findbugs if job is a Maven project
Slide-O-Mix updated JENKINS-15324 email-ext static-analysis template show empty data for Findbugs if job is a Maven project Change By: Slide-O-Mix (26/Sep/12 8:25 PM) Component/s: email-ext This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-15324) email-ext static-analysis template show empty data for Findbugs if job is a Maven project
Ulli Hafner updated JENKINS-15324 email-ext static-analysis template show empty data for Findbugs if job is a Maven project Change By: Ulli Hafner (26/Sep/12 8:46 PM) Assignee: Slide-O-Mix UlliHafner Component/s: email-ext This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-15324) email-ext static-analysis template show empty data for Findbugs if job is a Maven project
Ulli Hafner updated JENKINS-15324 email-ext static-analysis template show empty data for Findbugs if job is a Maven project Change By: Ulli Hafner (26/Sep/12 8:46 PM) Priority: Major Minor This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira