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 PipelineERROR: 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?

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/6b5afd4a-714d-49f4-b9a3-65fcbafbeba7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to