I am having an issue pulling in inline environment variables in a Pipeline script. I have a Freestyle Project I want to convert to pipeline.
I am wanting to create a settings.php file for Drupal or Wordpress.
If I add a global environment variable it will write to the file, but I am unable to overwrite the values.
Using the web interface to add a file using job parameters I am able to use a file like:
How can I use dynamic variables pulled from a Jenkinsfile?