Appendix - Sending in custom parameters

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 is already available, so you don’t need to do anything for that variable.

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

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

Welcome to groovy Args, karl

image-20240329-230639.png

 

The following macros are not currently supported in the footer:
  • style