[JIRA] [postbuildscript] (JENKINS-24216) executeOn is created even for non-matrix jobs when updating config with REST API

2014-08-17 Thread magnus.jacobs...@netinsight.net (JIRA)














































Magnus Jacobsson
 commented on  JENKINS-24216


executeOn is created even for non-matrix jobs when updating config with REST API















I think Daniel already has pointed out where the problem is. Follow his link. You just need to qualify that line with that the job being a matrix job. You can see the problem with any job. If you need a script to upload through the REST API, I may be able to create one for you. Let me know if you need 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







-- 
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/d/optout.


[JIRA] [postbuildscript] (JENKINS-24216) executeOn is created even for non-matrix jobs when updating config with REST API

2014-08-15 Thread gregory.boissi...@gmail.com (JIRA)














































Gregory Boissinot
 commented on  JENKINS-24216


executeOn is created even for non-matrix jobs when updating config with REST API















Could you give me a reproductible sample?



























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/d/optout.


[JIRA] [postbuildscript] (JENKINS-24216) executeOn is created even for non-matrix jobs when updating config with REST API

2014-08-13 Thread gregory.boissi...@gmail.com (JIRA)














































Gregory Boissinot
 commented on  JENKINS-24216


executeOn is created even for non-matrix jobs when updating config with REST API















Sorry an error. I belived it was not related to postbuildscript 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







-- 
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/d/optout.


[JIRA] [postbuildscript] (JENKINS-24216) executeOn is created even for non-matrix jobs when updating config with REST API

2014-08-13 Thread gregory.boissi...@gmail.com (JIRA)














































Gregory Boissinot
 updated  JENKINS-24216


executeOn is created even for non-matrix jobs when updating config with REST API
















Change By:


Gregory Boissinot
(13/Aug/14 10:34 PM)




Assignee:


Gregory Boissinot





Component/s:


postbuildscript





Component/s:


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/d/optout.


[JIRA] [postbuildscript] (JENKINS-24216) executeOn is created even for non-matrix jobs when updating config with REST API

2014-08-12 Thread magnus.jacobs...@netinsight.net (JIRA)














































Magnus Jacobsson
 commented on  JENKINS-24216


executeOn is created even for non-matrix jobs when updating config with REST API















I agree. The exceptions occur just by accessing the project page through web. I've spawned this to a new issue: JENKINS-24229.



























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/d/optout.


[JIRA] [postbuildscript] (JENKINS-24216) executeOn is created even for non-matrix jobs when updating config with REST API

2014-08-12 Thread dan...@beckweb.net (JIRA)














































Daniel Beck
 commented on  JENKINS-24216


executeOn is created even for non-matrix jobs when updating config with REST API















Exceptions seem related to Summary Display 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







-- 
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/d/optout.


[JIRA] [postbuildscript] (JENKINS-24216) executeOn is created even for non-matrix jobs when updating config with REST API

2014-08-12 Thread magnus.jacobs...@netinsight.net (JIRA)














































Magnus Jacobsson
 commented on  JENKINS-24216


executeOn is created even for non-matrix jobs when updating config with REST API















There are a number of NPE's in the log during the upload that may be connected to the problem:

aug 12, 2014 9:27:33 FM VARNING hudson.ExpressionFactory2$JexlExpression evaluate

Caught exception evaluating: from.getReport() != null in /jenkins/job/SmokeTestTopTemplateJob/. Reason: java.lang.NullPointerException
java.lang.NullPointerException
	at hudson.plugins.summary_report.ACIPluginProjectAction.getReport(ACIPluginProjectAction.java:128)
	at sun.reflect.GeneratedMethodAccessor331.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:622)
	at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:258)
	at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
	at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83)
	at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57)
	at org.apache.commons.jexl.parser.ASTNENode.value(ASTNENode.java:55)
	at org.apache.commons.jexl.parser.ASTExpression.value(ASTExpression.java:54)
	at org.apache.commons.jexl.parser.ASTExpressionExpression.value(ASTExpressionExpression.java:56)
	at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80)
	at hudson.ExpressionFactory2$JexlExpression.evaluate(ExpressionFactory2.java:74)
	at org.apache.commons.jelly._expression_.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:61)
	at org.apache.commons.jelly._expression_.ExpressionSupport.evaluateAsBoolean(ExpressionSupport.java:71)
	at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:97)
	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
	at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
	at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:81)
	at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:147)
	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
	at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)
	at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150)
	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
	at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
	at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120)
	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
	at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:81)
	at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:147)
	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
	at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99)
	at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
	at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98)
	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
	at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120)
	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
	at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99)
	at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
	at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
	at org.kohsuke.st

[JIRA] [postbuildscript] (JENKINS-24216) executeOn is created even for non-matrix jobs when updating config with REST API

2014-08-12 Thread magnus.jacobs...@netinsight.net (JIRA)












































  
Magnus Jacobsson
 edited a comment on  JENKINS-24216


executeOn is created even for non-matrix jobs when updating config with REST API
















See also JENKINS-16871 that makes it a little harder to see this problem when diffing two versions of the 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







-- 
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/d/optout.


[JIRA] [postbuildscript] (JENKINS-24216) executeOn is created even for non-matrix jobs when updating config with REST API

2014-08-12 Thread magnus.jacobs...@netinsight.net (JIRA)














































Magnus Jacobsson
 commented on  JENKINS-24216


executeOn is created even for non-matrix jobs when updating config with REST API















See also JENKINS-24216 that makes it a little harder to see this problem when diffing two versions of the 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







-- 
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/d/optout.


[JIRA] [postbuildscript] (JENKINS-24216) executeOn is created even for non-matrix jobs when updating config with REST API

2014-08-12 Thread magnus.jacobs...@netinsight.net (JIRA)














































Magnus Jacobsson
 created  JENKINS-24216


executeOn is created even for non-matrix jobs when updating config with REST API















Issue Type:


Bug



Assignee:


Gregory Boissinot



Components:


postbuildscript



Created:


12/Aug/14 7:15 AM



Description:


When the config is updated through the REST API an entry appears in the XML:

BOTH

If the config is edited through the web i/f, it is removed again.

This occurs for non-matrix jobs, that shouldn't even have this parameter.




Environment:


Jenkins core 1.560, PostBuildScript plugin 0.16.




Project:


Jenkins



Priority:


Minor



Reporter:


Magnus Jacobsson

























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/d/optout.