Getting error : [Pipeline] End of Pipeline ERROR: No tool named MSBuild found Finished: FAILURE

305 views
Skip to first unread message

isha chishty

unread,
Oct 12, 2017, 4:19:31 AM10/12/17
to Jenkins Users
Hi,

I am trying to build a pipeline project where it builds using MSBuild.
I have declared MSBuild in tool configuration for 2 Versions.

I have tried different formats to define the path which is:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild
C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild

AND

C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe

But it gives error for both the formats.

I have even tried defining in the Jenkinsfile:

def msbuild = tool name: 'MSBuild', type: 'hudson.plugins.msbuild.MsBuildInstallation'

but this one gives me following error:
[Pipeline] End of Pipeline
ERROR: No hudson.plugins.msbuild.MsBuildInstallation named MSBuild found
Finished: FAILURE

I cant find much info as of where am I going wrong.
Can somebody help me?
Reply all
Reply to author
Forward
0 new messages