I try to perform post-build script by Post build task on Windows 10 x64 Pro(Jenkins Slave Agent).
Post build task doesn`t handle new line (UTF-8 0x0A) symbol. For example (in Jenkins GUI %%0A):
But, "Post build task" passes to CURL only 'A', like this (from Jenkins log):
Of course i can`t get new line.
I try this script on "Execute Windows batch command" in build section (not post build section) and easy to get new line. From Jenkins log (CURL has %0A):