Reputation: 9929
My jenkins container is inside the docker. Since Docker is linux based it is not accepting any path like "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MsBuild.exe".
What will be the msbuild path for jenkins inside docker container?
I am getting error like "FATAL: Unable to use this plugin on this kind of operation system"
Upvotes: 5
Views: 4391
Reputation: 6539
Instead use windowsservercore docker image with MSBuild. Docker also support linux and windows platform. For detailed info about the windows docker image refer below link.
https://blog.alexellis.io/3-steps-to-msbuild-with-docker/
Upvotes: 2