-
Bug
-
Resolution: Fixed
-
Critical
MsBuildInstaller#checkOsIsWindows is checking the os.name java property ; however (unless I'm wrong) this executes on the controller and not on the node.
Setups with a Linux controller and Windows agents do not work and automatic installation of MSbuild fails with "MSBuild is only available on Windows" even though the job is running on a Windows agent.
[JENKINS-73245] OS verification performed applies to Controller instead of Node
Description |
Original:
[MsBuildInstaller#checkOsIsWindows|https://github.com/jenkinsci/msbuild-plugin/blob/master/src/main/java/hudson/plugins/msbuild/MsBuildInstaller.java#L262] is checking os.name ; however (unless I'm wrong) this executes on the controller and not on the node.
Setups with a Linux controller and Windows agents do not work and automatic installation of MSbuild fails with "MSBuild is only available on Windows" even though the job is running on a Windows agent. |
New:
[MsBuildInstaller#checkOsIsWindows|https://github.com/jenkinsci/msbuild-plugin/blob/96ea58c2f273bb6508d00dda90c95071bb50798e/src/main/java/hudson/plugins/msbuild/MsBuildInstaller.java#L262] is checking the {{os.name}} java property ; however (unless I'm wrong) this executes on the controller and not on the node.
Setups with a Linux controller and Windows agents do not work and automatic installation of MSbuild fails with "MSBuild is only available on Windows" even though the job is running on a Windows agent. |
Assignee | Original: Lionel Cabasson [ marshall777 ] | New: Tilo [ tilalx ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Released As | New: msbuild-1.33 | |
Labels | New: bug |
Released As | Original: msbuild-1.33 | New: https://github.com/jenkinsci/msbuild-plugin/releases/tag/msbuild-1.33 |
Assignee | Original: Tilo [ tilalx ] | New: Benjamin Zaiser [ ben ] |
Assignee | Original: Benjamin Zaiser [ ben ] | New: Benoit [ bendardenne ] |
I'll look into this issue