[JIRA] (JENKINS-34416) workflow-cps-global-lib: global variables are not global singletons
Title: Message Title Isaac Aymerich commented on JENKINS-34416 Re: workflow-cps-global-lib: global variables are not global singletons I have the same problem but without 100 cpu usage, the job is hang trying to set a a variable in a singleton the setting is from inside the same file print 'before set singleton' devops.setBuild(build) print 'after set singleton' never "after set singleton" shown 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-34416) workflow-cps-global-lib: global variables are not global singletons
Title: Message Title Jesse Glick commented on JENKINS-34416 Re: workflow-cps-global-lib: global variables are not global singletons Documentation was clarified as part of JENKINS-31155. So again, the quoted examples are just incorrect. There may be a bug using other examples. 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-34416) workflow-cps-global-lib: global variables are not global singletons
Title: Message Title Martin Vehovsky edited a comment on JENKINS-34416 Re: workflow-cps-global-lib: global variables are not global singletons Now that is peculiar, because [documentation|https://github.com/jenkinsci/workflow-cps-global-lib-plugin#defining-global-variables] doesn't say a word about the fact that global variables shouldn't be available in the [{{shared code}}|https://github.com/jenkinsci/workflow-cps-global-lib-plugin#writing-shared-code]. So I say the they are definitely not wrong. In {{Zot}} i simply want to access global variable {{acme}}. And I am able to access it. It's just not the same instance of the {{acme}} as it was in the {{pipeline}}. 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-34416) workflow-cps-global-lib: global variables are not global singletons
Title: Message Title Martin Vehovsky edited a comment on JENKINS-34416 Re: workflow-cps-global-lib: global variables are not global singletons Now that is peculiar, because [documentation|https://github.com/jenkinsci/workflow-cps-global-lib-plugin#defining-global-variables] doesn't say a word about the fact that global variables shouldn't be available in the [{{shared code}}|https://github.com/jenkinsci/workflow-cps-global-lib-plugin#writing-shared-code]. So I way say the are definitely not wrong. In {{Zot}} i simply want to access global variable {{acme}}. And I am able to access it. It's just not the same instance of the {{acme}} as it was in the {{pipeline}}. 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-34416) workflow-cps-global-lib: global variables are not global singletons
Title: Message Title Martin Vehovsky commented on JENKINS-34416 Re: workflow-cps-global-lib: global variables are not global singletons Now that is peculiar, because documentation doesn't say a word about the fact that global variables shouldn't be available in the shared code. So I way the are definitely not wrong. In Zot i simply want to access global variable acme. And I am able to access it. It's just not the same instance of the acme as it was in the pipeline. 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-34416) workflow-cps-global-lib: global variables are not global singletons
Title: Message Title Jesse Glick commented on JENKINS-34416 Re: workflow-cps-global-lib: global variables are not global singletons While there may be some bugs here, the quoted scripts are definitely wrong. acme here is a global variable, meaning it is only accessible unqualified from Script code, such as the main Pipeline; you could pass this to Zot if you wanted to access it. So the quoted Zot is doing something, I am not sure what, but certainly not what you intended. 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-34416) workflow-cps-global-lib: global variables are not global singletons
Title: Message Title Jesse Glick updated an issue Jenkins / JENKINS-34416 workflow-cps-global-lib: global variables are not global singletons Change By: Jesse Glick Component/s: workflow-cps-global-lib-plugin Component/s: pipeline 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-34416) workflow-cps-global-lib: global variables are not global singletons
Title: Message Title Mark Bidewell commented on JENKINS-34416 Re: workflow-cps-global-lib: global variables are not global singletons I believe this issue may also be the root cause of JENKINS-36673 as well. 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.