Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Configuring MSBuild Path in Jenkins inside docker container

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"

like image 371
web dunia Avatar asked Oct 28 '22 21:10

web dunia


1 Answers

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/

like image 73
sanath meti Avatar answered Nov 15 '22 04:11

sanath meti