Branch: refs/heads/master Home: https://github.com/jenkinsci/workflow-plugin Commit: 39742e35c5634cf4ed6cc2d2c46c51356b5b03f5 https://github.com/jenkinsci/workflow-plugin/commit/39742e35c5634cf4ed6cc2d2c46c51356b5b03f5 Author: Jesse Glick <jgl...@cloudbees.com> Date: 2015-01-08 (Thu, 08 Jan 2015)
Changed paths: M CHANGES.md M cps/src/main/java/org/jenkinsci/plugins/workflow/cps/Snippetizer.java M cps/src/test/java/org/jenkinsci/plugins/workflow/cps/SnippetizerTest.java Log Message: ----------- Handling no-arg steps. Note that trying to assert the *former* behavior via assertRoundTrip(new PwdStep(), "pwd") fails in the expected way: groovy.lang.MissingPropertyException: No such property: pwd for class: org.jenkinsci.plugins.workflow.cps.SnippetizerTest$1 at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:50) at org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.getProperty(PogoGetPropertySite.java:49) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:227) at Script1.run(Script1.groovy:1) at groovy.lang.GroovyShell.evaluate(GroovyShell.java:580) at groovy.lang.GroovyShell.evaluate(GroovyShell.java:618) at groovy.lang.GroovyShell.evaluate(GroovyShell.java:589) at org.jenkinsci.plugins.workflow.cps.SnippetizerTest.assertRoundTrip(SnippetizerTest.java:113) at org.jenkinsci.plugins.workflow.cps.SnippetizerTest.noArgStep(SnippetizerTest.java:60) Commit: 1dfc583624d6d3db445a3f308da92f300e8ee99e https://github.com/jenkinsci/workflow-plugin/commit/1dfc583624d6d3db445a3f308da92f300e8ee99e Author: Jesse Glick <jgl...@cloudbees.com> Date: 2015-01-08 (Thu, 08 Jan 2015) Changed paths: M cps/src/test/java/org/jenkinsci/plugins/workflow/cps/SnippetizerTest.java Log Message: ----------- Noting @Email source. Commit: cfdb2e114602ccfe8561b064dd0875c950aac133 https://github.com/jenkinsci/workflow-plugin/commit/cfdb2e114602ccfe8561b064dd0875c950aac133 Author: Jesse Glick <jgl...@cloudbees.com> Date: 2015-01-09 (Fri, 09 Jan 2015) Changed paths: M CHANGES.md M cps/src/main/java/org/jenkinsci/plugins/workflow/cps/Snippetizer.java M cps/src/test/java/org/jenkinsci/plugins/workflow/cps/SnippetizerTest.java Log Message: ----------- Merge pull request #31 from jenkinsci/noArgStep Handle no-arg steps better Compare: https://github.com/jenkinsci/workflow-plugin/compare/189c489047b1...cfdb2e114602 -- You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.