I would like to create a text file from TextParameter value in Jenkins job. My parameter value contains multiple lines. I have tried to echo the parameter but only first line is printing.
Add build step -> Execute Shell -> echo $PARAMNAMEHERE > file.txt
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With