An error occurred while fetching the assigned iteration of the selected issue.
CI_DEBUG_TRACE has no effect on windows CMD
Summary
Debug trace on windows (using CMD) isn't working, it becomes obvious if you look this line...
I'd probably change the line to be
if !trace {
io.WriteString(w, "@echo off\r\n")
}
or even
if trace {
io.WriteString(w, "@echo on\r\n")
} else {
io.WriteString(w, "@echo off\r\n")
}
Steps to reproduce
put CI_DEBUG_TRACE="true" in .gitlab-ci.yml or through the web panel for a windows runner using CMD and observe how the output doesn't change
Actual behavior
same output as without CI_DEBUG_TRACE
Expected behavior
more verbose output (for starters it should at least output what the build script contains at run-time)
Environment description
Default windows x64 binary of gitlab runner, setup on a windows server, using CMD
Used GitLab Runner version
Version: 1.10.4
Git revision: b32125f
Git branch: 1-10-stable
GO version: go1.7.5
Built: Tue, 31 Jan 2017 14:39:18 +0000
OS/Arch: windows/amd64