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, 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.
Now, the username of the person submitting the workflow is passed in as prm1.
Welcome to groovy Args, karl
The following macros are not currently supported in the footer:
- style