Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To enable it, click the curly braces next to a value. Some inputs are locked to Groovy mode and can’t be toggled.

...

once it’s enabled, you will see the purple script indicator

...

After adding the missing plus sign, the value saves successfully.

Known Issues

If you make a multi-line groovy expression, and start lines with +, you may get the error

[No signature of method: java.lang.String.positive() is applicable for argument types: () values: [] Possible solutions: notify(), tokenize(), size(), tokenize(), size()].

In this case, move the + signs to the ends of the lines above.

e.g. this might not work:

Code Block
"Test: " +  BranchName + EnvironmentCode
+ EnvironmentName + PackageName + ProjectName + ProjectVersion +
TargetGroupCode + TargetGroupName + WorkflowRequestor

but this will:

Code Block
"Test: " +  BranchName + EnvironmentCode +
EnvironmentName + PackageName + ProjectName + ProjectVersion +
TargetGroupCode + TargetGroupName + WorkflowRequestor