[JIRA] (JENKINS-59911) Different behavior for groovy in pipeline and script console
Title: Message Title Sergei Parshev created an issue Jenkins / JENKINS-59911 Different behavior for groovy in pipeline and script console Issue Type: Bug Assignee: vjuranek Components: groovy-plugin, workflow-cps-plugin Created: 2019-10-23 23:25 Priority: Minor Reporter: Sergei Parshev Hello Guys, I found some weird behavior difference in executing the same groovy logic in pipeline from the original groovy 2.4.12 (used in the latest LTS Jenkins by default). The next logic is working in different ways for pipeline and script console: def b = 3 def a = b = 4 print("${a} ${b}") Groovy console print output: "4 4" Pipeline echo output: "null 4" Who can tell why? I just can't catch the difference.
[JIRA] (JENKINS-59911) Different behavior for groovy in pipeline and script console
Title: Message Title Sergei Parshev commented on JENKINS-59911 Re: Different behavior for groovy in pipeline and script console Jesse Glick maybe you can help with this question? Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- 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.202710.1571873119000.2210.1572038040147%40Atlassian.JIRA.
[JIRA] (JENKINS-59911) Different behavior for groovy in pipeline and script console
Title: Message Title Jesse Glick assigned an issue to Unassigned A bug in https://github.com/cloudbees/groovy-cps presumably. Jenkins / JENKINS-59911 Different behavior for groovy in pipeline and script console Change By: Jesse Glick Component/s: groovy-plugin Assignee: vjuranek Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- 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 discu