Improved debug output
Revert goroutine change for publishArtifacts