[JIRA] [analysis-core] (JENKINS-17663) Fail by publishing report will fail whole build

2013-07-02 Thread scm_issue_l...@java.net (JIRA)














































SCM/JIRA link daemon
 commented on  JENKINS-17663


Fail by publishing report will fail whole build















Code changed in jenkins
User: MihailMenev
Path:
http://jenkins-ci.org/commit/analysis-core-plugin/40ec0a84dfcdab2b88ad6a3ba28b2fed41b35285
Log:
  Merge branch 'JENKINS-17663' of github.com:mmenev/analysis-core-plugin into JENKINS-17663

Conflicts:
	src/main/java/hudson/plugins/analysis/core/GlobalSettings.java
	src/main/resources/hudson/plugins/analysis/core/GlobalSettings/global.jelly
	src/main/resources/hudson/plugins/analysis/core/GlobalSettings/global.properties





























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







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[JIRA] [analysis-core] (JENKINS-17663) Fail by publishing report will fail whole build

2013-07-02 Thread scm_issue_l...@java.net (JIRA)














































SCM/JIRA link daemon
 commented on  JENKINS-17663


Fail by publishing report will fail whole build















Code changed in jenkins
User: Ulli Hafner
Path:
 src/main/java/hudson/plugins/analysis/core/GlobalSettings.java
 src/main/java/hudson/plugins/analysis/core/HealthAwarePublisher.java
 src/main/resources/hudson/plugins/analysis/core/GlobalSettings/global.jelly
 src/main/resources/hudson/plugins/analysis/core/GlobalSettings/global.properties
http://jenkins-ci.org/commit/analysis-core-plugin/309403780b6425e3f2a1ca2907e82d082a991a46
Log:
  Merge pull request #18 from mmenev/JENKINS-17663

FIXED JENKINS-17663 Added global fail on error checkbox.


Compare: https://github.com/jenkinsci/analysis-core-plugin/compare/7a18edf6769a...309403780b64




























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







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[JIRA] [analysis-core] (JENKINS-17663) Fail by publishing report will fail whole build

2013-07-02 Thread scm_issue_l...@java.net (JIRA)















































SCM/JIRA link daemon
 resolved  JENKINS-17663 as Fixed


Fail by publishing report will fail whole build
















Change By:


SCM/JIRA link daemon
(02/Jul/13 2:14 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







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[JIRA] [analysis-core] (JENKINS-17663) Fail by publishing report will fail whole build

2013-06-18 Thread ullrich.haf...@gmail.com (JIRA)















































Ulli Hafner
 assigned  JENKINS-17663 to Mihail Menev



Fail by publishing report will fail whole build
















Change By:


Ulli Hafner
(18/Jun/13 5:26 PM)




Assignee:


UlliHafner
MihailMenev



























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







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[JIRA] [analysis-core] (JENKINS-17663) Fail by publishing report will fail whole build

2013-04-29 Thread ullrich.haf...@gmail.com (JIRA)














































Ulli Hafner
 updated  JENKINS-17663


Fail by publishing report will fail whole build
















Change By:


Ulli Hafner
(29/Apr/13 8:06 PM)




Component/s:


analysis-core



























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







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[JIRA] [analysis-core] (JENKINS-17663) Fail by publishing report will fail whole build

2013-04-22 Thread p.spir...@mwaysolutions.com (JIRA)














































Peter Spireng
 commented on  JENKINS-17663


Fail by publishing report will fail whole build















Thanks for answer. I see the link. But it is OK, that plugin end with error but whole build end with success? Usually we dont check build page as we rely on mail notification when build have problem. In this case we dont get information that there is some problem. 



























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







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[JIRA] [analysis-core] (JENKINS-17663) Fail by publishing report will fail whole build

2013-04-22 Thread ullrich.haf...@gmail.com (JIRA)














































Ulli Hafner
 commented on  JENKINS-17663


Fail by publishing report will fail whole build















I don't understand how this problem can occur in between successful PMD executions. Shouldn't the problem be only visible when you enable PMD using a wrong configuration?



























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







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[JIRA] [analysis-core] (JENKINS-17663) Fail by publishing report will fail whole build

2013-04-22 Thread p.spir...@mwaysolutions.com (JIRA)














































Peter Spireng
 commented on  JENKINS-17663


Fail by publishing report will fail whole build















Ok. The story was so that:
1. PMD + PMD plugin was set and work without problem
2. we add new code that contains character "0x1f" and it was in string that was couple of times in code, so PMD generate warning about more occurrences of this string and copy string to PMD resolution report
3. PMD plugin try to parse this report but this character isnt supported for XML 1.0 and end with error. But we noticed this about some time and only so, that graph suddenly show 0 count of PMD warnings.

Hopefully now is more clear ... 



























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







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[JIRA] [analysis-core] (JENKINS-17663) Fail by publishing report will fail whole build

2013-04-19 Thread ullrich.haf...@gmail.com (JIRA)














































Ulli Hafner
 commented on  JENKINS-17663


Fail by publishing report will fail whole build















Actually that behavior is by design: there should appear an "Error" link in the results of your build. Is this link not visible in your 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







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[JIRA] [analysis-core] (JENKINS-17663) Fail by publishing report will fail whole build

2013-04-18 Thread p.spir...@mwaysolutions.com (JIRA)














































Peter Spireng
 created  JENKINS-17663


Fail by publishing report will fail whole build















Issue Type:


Improvement



Affects Versions:


current



Assignee:


Ulli Hafner



Components:


analysis-core, pmd



Created:


18/Apr/13 7:12 AM



Description:


We encounter error by parsing file (there was character not supported by XML 1.0 version). 
On build overview PMD plugin show that there is problem ("During parsing an error has been reported.") but build end with success. Consequently number of warning drop to 0.
It would be nice that information about failure will be throw to Jenkins so that it tell us, that something is wrong.


Console output with error:

PMD ./pmd_report.xml failed due to an exception:

org.xml.sax.SAXParseException; lineNumber: 1224; columnNumber: 26; An invalid XML character (Unicode: 0x1f) was found in the element content of the document.
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1236)
	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:568)
	at org.apache.commons.digester.Digester.parse(Digester.java:1666)
	at hudson.plugins.pmd.parser.PmdParser.parse(PmdParser.java:70)
	at hudson.plugins.analysis.core.AbstractAnnotationParser.parse(AbstractAnnotationParser.java:53)
	at hudson.plugins.analysis.core.FilesParser.parseFile(FilesParser.java:306)
	at hudson.plugins.analysis.core.FilesParser.parseFiles(FilesParser.java:264)
	at hudson.plugins.analysis.core.FilesParser.parserCollectionOfFiles(FilesParser.java:215)
	at hudson.plugins.analysis.core.FilesParser.invoke(FilesParser.java:184)
	at hudson.plugins.analysis.core.FilesParser.invoke(FilesParser.java:31)
	at hudson.FilePath.act(FilePath.java:852)
	at hudson.FilePath.act(FilePath.java:825)
	at hudson.plugins.pmd.PmdPublisher.perform(PmdPublisher.java:139)
	at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:146)
	at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:331)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:810)
	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:785)
	at hudson.model.Build$BuildExecution.post2(Build.java:183)
	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:732)
	at hudson.model.Run.execute(Run.java:1568)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
	at hudson.model.ResourceController.execute(ResourceController.java:88)
	at hudson.model.Executor.run(Executor.java:236)




Project:


Jenkins



Labels:


plugin




Priority:


Major



Reporter:


Peter Spireng

























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







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.