See PR 198 for details. Intuitively you would expect the scm global variable to be defined in all loaded code, but it is only available from the main script, and there is no straightforward way for other CpsScript instances to get it.
Need to find a way to make global variables reliably be accessible from all script files loaded in a flow build. Current idea is to save them in CpsThreadGroup.
|Field||Original Value||New Value|
|Remote Link||This issue links to "PR 198 (Web Link)" [ 13135 ]|
|Status||Open [ 1 ]||In Progress [ 3 ]|
|Resolution||Duplicate [ 3 ]|
|Status||In Progress [ 3 ]||Resolved [ 5 ]|
|Workflow||JNJira [ 165315 ]||JNJira + In-Review [ 197681 ]|
|Component/s||pipeline-general [ 21692 ]|
|Component/s||workflow-plugin [ 18820 ]|