C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(748,5): error : The OutputPath property is not set for project '<project_name_here>'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='Debug' Platform='Any CPU'. You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project.
You describe the problem as a Jenkins problem. Fine. But the level of logs you have doesn't tell you anything, because that's not the tools which is failing. Don't take me wrong, but you should get the msbuild logs at a debug level, and find out what's different between the executions.
The initial problem is a missing variable. The only solution you have is to find out why the variable isn't being set in this particular environment.
I know how a pain in the neck is inspecting msbuild debug level logs, but it's the only deterministic solution you have to get your hair back. 😉
So, add /v:diag to your msbuild logs.
And, BTW, the chcp command was probably there to influence the code analysis tools and get the same errors that are shown on the developers hosts. Or to get the msbuild log messages in the good format.
Good luck, and make me a sign if I can help you.
Ivo
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/71116942-198b-4a97-bc5a-9fbc8a422c38%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.