[JIRA] [artifactdeployer] (JENKINS-18135) Conditional Build Step plugin crashes when using Artifact Deployer plugin as build step
SCM/JIRA link daemon commented on JENKINS-18135 Conditional Build Step plugin crashes when using Artifact Deployer plugin as build step Code changed in jenkins User: imod Path: pom.xml src/main/java/org/jenkinsci/plugins/artifactdeployer/ArtifactDeployerBuilder.java src/main/java/org/jenkinsci/plugins/artifactdeployer/ArtifactDeployerEntry.java src/main/resources/org/jenkinsci/plugins/artifactdeployer/ArtifactDeployerBuilder/config.jelly http://jenkins-ci.org/commit/artifactdeployer-plugin/b82141c10221de0a9e7fba0f2f15d251954d60ac Log: FIXED JENKINS-18135 inline attributes instead of deprecated newInstance() call, this allows use of Artifactdeployer in ConditionalBuildstep with DataBoundConstructor 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] [artifactdeployer] (JENKINS-18135) Conditional Build Step plugin crashes when using Artifact Deployer plugin as build step
SCM/JIRA link daemon commented on JENKINS-18135 Conditional Build Step plugin crashes when using Artifact Deployer plugin as build step Code changed in jenkins User: Gregory Boissinot Path: pom.xml src/main/java/org/jenkinsci/plugins/artifactdeployer/ArtifactDeployerBuilder.java src/main/java/org/jenkinsci/plugins/artifactdeployer/ArtifactDeployerEntry.java src/main/resources/org/jenkinsci/plugins/artifactdeployer/ArtifactDeployerBuilder/config.jelly http://jenkins-ci.org/commit/artifactdeployer-plugin/20268aa1e4eda615c76ff15d1389e80d612e13b5 Log: Merge pull request #4 from imod/master FIXED JENKINS-18135 inline attributes instead of deprecated newInstanc... Compare: https://github.com/jenkinsci/artifactdeployer-plugin/compare/f4a98b38a985...20268aa1e4ed 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] [artifactdeployer] (JENKINS-18135) Conditional Build Step plugin crashes when using Artifact Deployer plugin as build step
SCM/JIRA link daemon resolved JENKINS-18135 as Fixed Conditional Build Step plugin crashes when using Artifact Deployer plugin as build step Change By: SCM/JIRA link daemon (14/Nov/13 10:43 AM) 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] [artifactdeployer] (JENKINS-18135) Conditional Build Step plugin crashes when using Artifact Deployer plugin as build step
domi commented on JENKINS-18135 Conditional Build Step plugin crashes when using Artifact Deployer plugin as build step believe me, its not the intention to have the two behave different! Do you have this plugin installed too? https://wiki.jenkins-ci.org/display/JENKINS/Any+Build+Step+Plugin and then you have the global "Allowed build steps" option set to "Any build step"? ...with this configuration I can reproduce the issue - I don't know the "Any Build Step" plugin very well, but I will lock at it... If this is not your configuration, then please let me know how you can reproduce the issue when starting with a fresh jenkins installation 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] [artifactdeployer] (JENKINS-18135) Conditional Build Step plugin crashes when using Artifact Deployer plugin as build step
Kevin Phillips commented on JENKINS-18135 Conditional Build Step plugin crashes when using Artifact Deployer plugin as build step Sorry if my last comment sounded condescending ... that wasn't my intention Anyways, you are correct. I do have the Any Build Step plugin installed as well... maybe that is the one that allowed me to hook the Artifact Deployer as a Conditional Build Step. It will take me some time to setup a clean install of Jenkins to create a minimal reproducible environment, but it sounds like you may have already managed to reproduce the critical pieces that I am using. I have several dozen plugins installed atm so it would be hard for me to isolate which ones are possibly interacting with each other at this point, but I will see what I can do. 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] [artifactdeployer] (JENKINS-18135) Conditional Build Step plugin crashes when using Artifact Deployer plugin as build step
Kevin Phillips commented on JENKINS-18135 Conditional Build Step plugin crashes when using Artifact Deployer plugin as build step I actually posted the versions of all tools and plugins I'm using in my last comment. As for your first question, I can't speak as to the internal workings of Jenkins or these plugins. All I know is that there are two different "conditional build step" options: Conditional step (single) Conditional steps (multiple) When I create a single conditional step, I am able to choose the Artifact Deployer plugin as the "Builder" option, and saving the job configuration completes successfully. When I attempt to create a multiple job conditional step, I am still able to choose the Artifact Deployer plugin as the "Builder" option, but saving the job configuration throws an exception. I would have expected one of two things in these cases: If the Artifact Deployer plugin wasn't supported by the Conditional Build Step plugin then it shouldn't show up as a selectable option when configuring an instance of the latter. If the Artifact Deployer plugin shows up as a selectable option when creating a conditional build step, then the job configuration should save successfully and function correctly NOTE: From an end-user perspective that does not understand the internal workings of these plugins, it would also seem more intuitive that the behavior, whatever it may be, would be consistent for both the single and multi-job conditional build steps. The fact that the behavior is currently inconsistent seems odd to me. 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] [artifactdeployer] (JENKINS-18135) Conditional Build Step plugin crashes when using Artifact Deployer plugin as build step
domi commented on JENKINS-18135 Conditional Build Step plugin crashes when using Artifact Deployer plugin as build step I wonder how you where able to add the Artifact Deployer Step to any of the conditional buildsteps? The relevant class 'org.jenkinsci.plugins.artifactdeployer.ArtifactDeployerBuilder' does not provide a DataBoundConstructor, but uses the "old" way of creating an instance with a method called 'newInstance()' of its descriptor. The conditional-buildstep plugin checks for the availability of the DataBoundConstructor and only adds the buildsteps to its dropdown which provide it. So in short I don't understand how you where able to create this config in the UI... Which versions of plugins and core you 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 -- 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] [artifactdeployer] (JENKINS-18135) Conditional Build Step plugin crashes when using Artifact Deployer plugin as build step
Kevin Phillips created JENKINS-18135 Conditional Build Step plugin crashes when using Artifact Deployer plugin as build step Issue Type: Bug Affects Versions: current Assignee: Gregory Boissinot Components: artifactdeployer, conditional-buildstep Created: 29/May/13 7:39 PM Description: I just tried creating a custom build step using the conditional build step plugin, adding an "artifact deployer" task to copy files to a remote location during the build process. The job configuration page in Jenkins allowed me to configure the necessary options as expected, but when I went to save the configuration I got an error. Apparently when the conditional build step plugin when to instantiate an instance of the artifact deployer plugin, an exception got thrown. This effectively prevents me from using Jenkins to manage build artifacts using these plugins. Project: Jenkins Priority: Major Reporter: Kevin Phillips 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] [artifactdeployer] (JENKINS-18135) Conditional Build Step plugin crashes when using Artifact Deployer plugin as build step
Kevin Phillips updated JENKINS-18135 Conditional Build Step plugin crashes when using Artifact Deployer plugin as build step Change By: Kevin Phillips (29/May/13 7:42 PM) Description: Ijusttriedcreatingacustombuildstepusingthe (multi) conditionalbuildstepplugin,addinganartifactdeployertasktocopyfilestoaremotelocationduringthebuildprocess.ThejobconfigurationpageinJenkinsallowedmetoconfigurethenecessaryoptionsasexpected,butwhenIwenttosavetheconfigurationIgotanerror.Apparentlywhentheconditionalbuildsteppluginwhentoinstantiateaninstanceoftheartifactdeployerplugin,anexceptiongotthrown.ThiseffectivelypreventsmefromusingJenkinstomanagebuildartifactsusingtheseplugins. 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] [artifactdeployer] (JENKINS-18135) Conditional Build Step plugin crashes when using Artifact Deployer plugin as build step
Kevin Phillips commented on JENKINS-18135 Conditional Build Step plugin crashes when using Artifact Deployer plugin as build step Also, just to clarify, this error only happens when using a "multi-staged condition" build step. The single-staged condition works fine. 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] [artifactdeployer] (JENKINS-18135) Conditional Build Step plugin crashes when using Artifact Deployer plugin as build step
Kevin Phillips commented on JENKINS-18135 Conditional Build Step plugin crashes when using Artifact Deployer plugin as build step Here is a copy of the error / exception that is thrown: Status Code: 500 Exception: java.lang.RuntimeException: Failed to instantiate class org.jenkinsci.plugins.conditionalbuildstep.ConditionalBuilder from {"":0,0,"runCondition":Unknown macro: {stapler-class} ,"runner":Unknown macro: {stapler-class} ,"conditionalbuilders":Unknown macro: {command} ,{deployedArtifact:Unknown macro: {includes} ,deployEvenBuildFail:false,stapler-class:org.jenkinsci.plugins.artifactdeployer.ArtifactDeployerPublisher,kind:org.jenkinsci.plugins.artifactdeployer.ArtifactDeployerPublisher},"stapler-class":"org.jenkinsci.plugins.conditionalbuildstep.ConditionalBuilder","kind":"org.jenkinsci.plugins.conditionalbuildstep.ConditionalBuilder"} Stacktrace: javax.servlet.ServletException: java.lang.RuntimeException: Failed to instantiate class org.jenkinsci.plugins.conditionalbuildstep.ConditionalBuilder from {"":0,0,"runCondition":Unknown macro: {stapler-class} ,"runner":Unknown macro: {stapler-class} ,"conditionalbuilders":Unknown macro: {command} ,{deployedArtifact:Unknown macro: {includes} ,deployEvenBuildFail:false,stapler-class:org.jenkinsci.plugins.artifactdeployer.ArtifactDeployerPublisher,kind:org.jenkinsci.plugins.artifactdeployer.ArtifactDeployerPublisher},"stapler-class":"org.jenkinsci.plugins.conditionalbuildstep.ConditionalBuilder","kind":"org.jenkinsci.plugins.conditionalbuildstep.ConditionalBuilder"} at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:719) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:583) at org.kohsuke.stapler.Stapler.service(Stapler.java:214) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95) at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:206) at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:179) at net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:86) at org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:84) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98) at hudson.plugins.audit_trail.AuditTrailFilter.doFilter(AuditTrailFilter.java:66) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at
[JIRA] [artifactdeployer] (JENKINS-18135) Conditional Build Step plugin crashes when using Artifact Deployer plugin as build step
Kevin Phillips commented on JENKINS-18135 Conditional Build Step plugin crashes when using Artifact Deployer plugin as build step I'm using v1.509.1 of Jenkins (LTS edition), v1.2.1 of the conditional build step plugin, and v0.27 of the artifact deployer 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/groups/opt_out.