Versions Compared

Key

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

If you want to reuse existing scripts from other CI tools, or share a script with another system, sometimes you may want to send in a property from FlexDeploy with a name that is different.

To do that, follow this approach:

If your script is the following:

println("Welcome to ${FD_PROJECT_NAME}, ${prm1} ")

FD_PROJECT_NAME, so you don’t need to do anything to make it work.

However, prm1 is a custom named parameter, so you would need to send it in as a User Input.

Image RemovedImage Added

Now, the username of the person submitting the workflow is passed in as prm1.

Welcome to groovy Args, karl