6 comments

Hi Andrei,

Do you want to save build configuration parameter to the file while the build running? If yes, you can create a command line build step that prints build configuraion parameter's value to the file, for example:
echo %parameter_name% > file.txt

0

Unfortunately this doesn't work with values containing line feeds. Is there any other way?

0

Please quote the parameter the same way as you'd do using command line:
echo '% parameter_name%' > file.txt

0

Unfortunately this doesn't work on Windows build agents.

0

Hi Andrei,

Did you ever achieve this for multiline teamcity parameters from a command line build step on a Windows agent?

0

Please sign in to leave a comment.