[JIRA] (JENKINS-58501) Metaprogramming with InvokerHelper and MethodMissing triggers CPS MisMatch log
Title: Message Title Devin Nusbaum updated JENKINS-58501 A fix for this issue was just released in version 2.73 of Pipeline: Groovy Plugin. Jenkins / JENKINS-58501 Metaprogramming with InvokerHelper and MethodMissing triggers CPS MisMatch log Change By: Devin Nusbaum Status: In Review Resolved Resolution: Fixed Released As: workflow-cps 2.73 Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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. To view this discussion on the web visit
[JIRA] (JENKINS-58501) Metaprogramming with InvokerHelper and MethodMissing triggers CPS MisMatch log
Title: Message Title Steven Terrana commented on JENKINS-58501 Re: Metaprogramming with InvokerHelper and MethodMissing triggers CPS MisMatch log Hey @jglick, i attempted a patch at this in groovy-cps and opened a PR. https://github.com/cloudbees/groovy-cps/pull/99 Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200641.1563219069000.15842.1563485400262%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-58501) Metaprogramming with InvokerHelper and MethodMissing triggers CPS MisMatch log
Title: Message Title Jesse Glick commented on JENKINS-58501 Re: Metaprogramming with InvokerHelper and MethodMissing triggers CPS MisMatch log With workflow-cps #306, probably falls on me or Devin Nusbaum to play with a groovy-cps patch that would resolve the issue. One thing I should have done initially, but neglected to, was write unit tests in groovy-cps for this. Quicker to iterate than the full functional tests in workflow-cps, though we need at least some of those as well, since “things happen” when a library is being used in a complex context. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200641.1563219069000.15608.1563469380176%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-58501) Metaprogramming with InvokerHelper and MethodMissing triggers CPS MisMatch log
Title: Message Title Jesse Glick started work on JENKINS-58501 Change By: Jesse Glick Status: Open In Progress Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200641.1563219069000.14497.1563377522919%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-58501) Metaprogramming with InvokerHelper and MethodMissing triggers CPS MisMatch log
Title: Message Title Jesse Glick assigned an issue to Steven Terrana Jenkins / JENKINS-58501 Metaprogramming with InvokerHelper and MethodMissing triggers CPS MisMatch log Change By: Jesse Glick Assignee: Steven Terrana Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200641.1563219069000.14494.1563377522800%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-58501) Metaprogramming with InvokerHelper and MethodMissing triggers CPS MisMatch log
Title: Message Title Jesse Glick updated JENKINS-58501 Jenkins / JENKINS-58501 Metaprogramming with InvokerHelper and MethodMissing triggers CPS MisMatch log Change By: Jesse Glick Status: In Progress Review Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200641.1563219069000.14500.1563377523019%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-58501) Metaprogramming with InvokerHelper and MethodMissing triggers CPS MisMatch log
Title: Message Title Jesse Glick updated an issue Jenkins / JENKINS-58501 Metaprogramming with InvokerHelper and MethodMissing triggers CPS MisMatch log Change By: Jesse Glick Issue Type: Task Bug Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200641.1563219069000.14490.1563377460311%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-58501) Metaprogramming with InvokerHelper and MethodMissing triggers CPS MisMatch log
Title: Message Title Steven Terrana commented on JENKINS-58501 Re: Metaprogramming with InvokerHelper and MethodMissing triggers CPS MisMatch log I have implemented an approach to solving this problem and opened a pull request: https://github.com/jenkinsci/workflow-cps-plugin/pull/305 Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200641.1563219069000.14382.1563375846093%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-58501) Metaprogramming with InvokerHelper and MethodMissing triggers CPS MisMatch log
Title: Message Title Steven Terrana edited a comment on JENKINS-58501 Re: Metaprogramming with InvokerHelper and MethodMissing triggers CPS MisMatch log I have implemented an approach to solving this problem and opened a pull request: [https://github.com/jenkinsci/workflow-cps-plugin/pull/305] cc: [~jglick] [~abayer] Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200641.1563219069000.14383.1563375846171%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-58501) Metaprogramming with InvokerHelper and MethodMissing triggers CPS MisMatch log
Title: Message Title Steven Terrana updated an issue Jenkins / JENKINS-58501 Metaprogramming with InvokerHelper and MethodMissing triggers CPS MisMatch log Change By: Steven Terrana I currently work on a plugin ([Templating Engine Plugin|[https://plugins.jenkins.io/templating-engine]]) that relies on being able to leverage metaprogramming techniques such as using snippets like: {code:java}InvokerHelper.getMetaClass(impl).invokeMethod(impl, methodName, args){code}or *methodMissing* to control program flow. The introduction of logging CPS mismatched method names has resulted in continuously logging these occurrences. Is there a way to work around the CPS mismatch logs for instances such as leveraging *methodMissing* or the *InvokerHelper* to dynamically execute methods? *methodMissing log:*{noformat}expected to call org.boozallen.plugins.jte.binding.injectors.StepWrapper.doThing but wound up catching org.boozallen.plugins.jte.binding.injectors.StepWrapper.methodMissing; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/expected to call org.boozallen.plugins.jte.hooks.Hooks.invoke but wound up catching script15632181891161818312862.call; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/{noformat}*InvokerHelper log:*{code:java}expected to call groovy.lang.ExpandoMetaClass.invokeMethod but wound up catching script1563218188258613791966.doThing; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/{code} Simplest example to reproduce: {code:java}import org.codehaus.groovy.runtime.InvokerHelperc = {println "doing a thing"}InvokerHelper.getMetaClass(c).invokeMethod(c, "call", null){code} Add Comment
[JIRA] (JENKINS-58501) Metaprogramming with InvokerHelper and MethodMissing triggers CPS MisMatch log
Title: Message Title Steven Terrana updated an issue Jenkins / JENKINS-58501 Metaprogramming with InvokerHelper and MethodMissing triggers CPS MisMatch log Change By: Steven Terrana I currently work on a plugin ([Templating Engine Plugin|[https://plugins.jenkins.io/templating-engine]]) that relies on being able to leverage metaprogramming techniques such as using snippets like: " {code:java}InvokerHelper.getMetaClass(impl).invokeMethod(impl, methodName, args){code}or *methodMissing* to control program flow. The introduction of logging CPS mismatched method names has resulted in continuously logging these occurrences. Is there a way to work around the CPS mismatch logs for instances such as leveraging *methodMissing* or the *InvokerHelper* to dynamically execute methods? *methodMissing log:*{noformat}expected to call org.boozallen.plugins.jte.binding.injectors.StepWrapper.doThing but wound up catching org.boozallen.plugins.jte.binding.injectors.StepWrapper.methodMissing; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/expected to call org.boozallen.plugins.jte.hooks.Hooks.invoke but wound up catching script15632181891161818312862.call; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/{noformat}*InvokerHelper log:*{code:java}expected to call groovy.lang.ExpandoMetaClass.invokeMethod but wound up catching script1563218188258613791966.doThing; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/{code} Add Comment This message was sent by Atlassian Jira
[JIRA] (JENKINS-58501) Metaprogramming with InvokerHelper and MethodMissing triggers CPS MisMatch log
Title: Message Title Steven Terrana updated an issue Jenkins / JENKINS-58501 Metaprogramming with InvokerHelper and MethodMissing triggers CPS MisMatch log Change By: Steven Terrana Priority: Minor Major Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200641.1563219069000.11521.1563219240082%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-58501) Metaprogramming with InvokerHelper and MethodMissing triggers CPS MisMatch log
Title: Message Title Steven Terrana updated an issue Jenkins / JENKINS-58501 Metaprogramming with InvokerHelper and MethodMissing triggers CPS MisMatch log Change By: Steven Terrana I currently work on a plugin ([Templating Engine Plugin|[https://plugins.jenkins.io/templating-engine]]) that relies on being able to leverage metaprogramming techniques such as using snippets like: "{code:java}InvokerHelper.getMetaClass(impl).invokeMethod(impl, methodName, args){code}or *methodMissing* to control program flow. The introduction of logging CPS mismatched method names has resulted in continuously logging these occurrences. Is there a way to work around the CPS mismatch logs for instances such as leveraging *methodMissing* or the *InvokerHelper* to dynamically execute methods? *methodMissing log:*{noformat}expected to call org.boozallen.plugins.jte.binding.injectors.StepWrapper.doThing but wound up catching org.boozallen.plugins.jte.binding.injectors.StepWrapper.methodMissing; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/expected to call org.boozallen.plugins.jte.hooks.Hooks.invoke but wound up catching script15632181891161818312862.call; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/{noformat}*InvokerHelper log:*{code:java}expected to call groovy.lang.ExpandoMetaClass.invokeMethod but wound up catching script1563218188258613791966.doThing; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/{code} Add Comment This message was sent by Atlassian Jira
[JIRA] (JENKINS-58501) Metaprogramming with InvokerHelper and MethodMissing triggers CPS MisMatch log
Title: Message Title Steven Terrana updated an issue Jenkins / JENKINS-58501 Metaprogramming with InvokerHelper and MethodMissing triggers CPS MisMatch log Change By: Steven Terrana I currently work on a plugin ([Templating Engine Plugin|[https://plugins.jenkins.io/templating-engine]]) that relies on being able to leverage metaprogramming techniques such as using snippets like:"{code:java}InvokerHelper.getMetaClass(impl).invokeMethod(impl, methodName, args){code}or `` * methodMissing `` * to control program flow. The introduction of logging CPS mismatched method names has resulted in continuously logging these occurences occurrences . Is there a way to work around the CPS mismatch logs for instances such as leveraging `` * methodMissing `` * or the `` * InvokerHelper `` * to dynamically execute methods? Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200641.1563219069000.11519.1563219120167%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-58501) Metaprogramming with InvokerHelper and MethodMissing triggers CPS MisMatch log
Title: Message Title Steven Terrana created an issue Jenkins / JENKINS-58501 Metaprogramming with InvokerHelper and MethodMissing triggers CPS MisMatch log Issue Type: Task Assignee: Unassigned Components: workflow-cps-plugin Created: 2019-07-15 19:31 Environment: workflow-cps:2.7.1 Priority: Minor Reporter: Steven Terrana I currently work on a plugin ([Templating Engine Plugin|https://plugins.jenkins.io/templating-engine]) that relies on being able to leverage metaprogramming techniques such as using snippets like: " InvokerHelper.getMetaClass(impl).invokeMethod(impl, methodName, args) or ``methodMissing`` to control program flow. The introduction of logging CPS mismatched method names has resulted in continuously logging these occurences. Is there a way to work around the CPS mismatch logs for instances such as leveraging ``methodMissing`` or the ``InvokerHelper`` to dynamically execute methods?