I have a build step in Jenkins:
curl http://localhost:8080/job/%JOB_NAME%/%BUILD_NUMBER%/consoleText > d:\dblog.txt
to download the build log. It does download the file, but it always cuts the file, downloads part of the file only.
more mystery: the actually saved file, d:\dblog.txt, has a random size.
I tried to use --max-time for the curl command, it doesn't seems helping.
I am on windows 7 professional, the workstation has sufficient disk space.
when I create another project with a single step (same as above), the file IS downloaded completely.
How can I resolve this?
thanks, Heinz