[JIRA] (JENKINS-39461) "Poll SCM" triggers don't generate valid Groovy in snippet generator
Title: Message Title Andrew Bayer resolved as Fixed This was fixed in core 2.22. Jenkins / JENKINS-39461 "Poll SCM" triggers don't generate valid Groovy in snippet generator Change By: Andrew Bayer Status: Open Resolved Resolution: Fixed Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- 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] (JENKINS-39461) "Poll SCM" triggers don't generate valid Groovy in snippet generator
Title: Message Title Andrew Bayer updated an issue Jenkins / JENKINS-39461 "Poll SCM" triggers don't generate valid Groovy in snippet generator Change By: Andrew Bayer Component/s: workflow-cps-plugin Component/s: pipeline Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- 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] (JENKINS-39461) "Poll SCM" triggers don't generate valid Groovy in snippet generator
Title: Message Title Andrey A commented on JENKINS-39461 Re: "Poll SCM" triggers don't generate valid Groovy in snippet generator observing this issue on Jenkins ver. 2.19.3 can someone please tell what text should be instead of placeholder ? I would like to configure multibranch pipeline job via Jenkinsfile but it is hard to figure out the correct syntax for git polling Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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] (JENKINS-39461) "Poll SCM" triggers don't generate valid Groovy in snippet generator
Title: Message Title rsandell commented on JENKINS-39461 Re: "Poll SCM" triggers don't generate valid Groovy in snippet generator I noticed this as well today with all the most recent plugin updates installed Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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] (JENKINS-39461) "Poll SCM" triggers don't generate valid Groovy in snippet generator
Title: Message Title Andrew Bayer commented on JENKINS-39461 Re: "Poll SCM" triggers don't generate valid Groovy in snippet generator Aaaah. Yeah. SCMTrigger is kind of terrible - the DataBoundConstructor should really have a parameter named spec, not scmpoll_spec. Sigh. I'm not sure if there's a viable way to fix this without breaking backwards compatibility... Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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] (JENKINS-39461) "Poll SCM" triggers don't generate valid Groovy in snippet generator
Title: Message Title R. Tyler Croy commented on JENKINS-39461 Re: "Poll SCM" triggers don't generate valid Groovy in snippet generator Core 2.19.1, I don't know what real plugin workflow-cps actually maps to, but there are no Pipeline related plugin updates. Looks like there's a stack trace floating in the logs Nov 02, 2016 9:37:53 PM org.jenkinsci.plugins.structs.describable.DescribableParameter uncoerce WARNING: failed to uncoerce hudson.triggers.SCMTrigger@1f7a3b5c java.lang.UnsupportedOperationException: no public field ‘scmpoll_spec’ (or getter method) found in class hudson.triggers.SCMTrigger at org.jenkinsci.plugins.structs.describable.DescribableParameter.getValue(DescribableParameter.java:160) at org.jenkinsci.plugins.structs.describable.DescribableParameter.inspect(DescribableParameter.java:141) at org.jenkinsci.plugins.structs.describable.DescribableModel.uninstantiate2(DescribableModel.java:522) at org.jenkinsci.plugins.structs.describable.DescribableModel.uninstantiate2_(DescribableModel.java:612) at org.jenkinsci.plugins.structs.describable.DescribableParameter.uncoerce(DescribableParameter.java:193) at org.jenkinsci.plugins.structs.describable.DescribableParameter.uncoerce(DescribableParameter.java:187) at org.jenkinsci.plugins.structs.describable.DescribableParameter.inspect(DescribableParameter.java:141) at org.jenkinsci.plugins.structs.describable.DescribableModel.uninstantiate2(DescribableModel.java:522) at org.jenkinsci.plugins.structs.describable.DescribableModel.uninstantiate2_(DescribableModel.java:612) at org.jenkinsci.plugins.structs.describable.DescribableParameter.uncoerce(DescribableParameter.java:193) at org.jenkinsci.plugins.structs.describable.DescribableParameter.uncoerce(DescribableParameter.java:187) at org.jenkinsci.plugins.structs.describable.DescribableParameter.inspect(DescribableParameter.java:141) at org.jenkinsci.plugins.structs.describable.DescribableModel.uninstantiate2(DescribableModel.java:522) at org.jenkinsci.plugins.structs.describable.DescribableModel.uninstantiate2_(DescribableModel.java:612) at org.jenkinsci.plugins.workflow.steps.StepDescriptor.uninstantiate(StepDescriptor.java:240) at org.jenkinsci.plugins.workflow.cps.Snippetizer.object2Groovy(Snippetizer.java:124) at org.jenkinsci.plugins.workflow.cps.Snippetizer.step2Groovy(Snippetizer.java:79) at org.jenkinsci.plugins.workflow.cps.Snippetizer.doGenerateSnippet(Snippetizer.java:495) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:324) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:167) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:100) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:124) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876) at org.kohsuke.stapler.MetaClass$11.dispatch(MetaClass.java:380) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649) at org.kohsuke.stapler.Stapler.servi
[JIRA] (JENKINS-39461) "Poll SCM" triggers don't generate valid Groovy in snippet generator
Title: Message Title Andrew Bayer commented on JENKINS-39461 Re: "Poll SCM" triggers don't generate valid Groovy in snippet generator What versions of core and workflow-cps are you on? Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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] (JENKINS-39461) "Poll SCM" triggers don't generate valid Groovy in snippet generator
Title: Message Title R. Tyler Croy created an issue Jenkins / JENKINS-39461 "Poll SCM" triggers don't generate valid Groovy in snippet generator Issue Type: Bug Assignee: CloudBees Inc. Attachments: invalid-snippet.png Components: pipeline Created: 2016/Nov/02 9:19 PM Priority: Minor Reporter: R. Tyler Croy Using the snippet generator to generate properties for SCM polling, the resulting Groovy syntax is invalid properties([[$class: 'ThrottleJobProperty', categories: [], limitOneJobWithMatchingParams: false, maxConcurrentPerNode: 0, maxConcurrentTotal: 0, paramsToUseForLimit: '', throttleEnabled: false, throttleOption: 'project'], pipelineTriggers([])]) {code] Add Comment