diff --git a/jenkinsfile-examples/msbuild/Jenkinsfile b/jenkinsfile-examples/msbuild/Jenkinsfile index 78414fe..0326492 100644 --- a/jenkinsfile-examples/msbuild/Jenkinsfile +++ b/jenkinsfile-examples/msbuild/Jenkinsfile @@ -4,9 +4,9 @@ node { stage 'Build' bat 'nuget restore SolutionName.sln' - bat "\"${tool 'MSBuild'}\" SolutionName.sln /p:Configuration=Release /p:Platform=\"Any CPU\" /p:ProductVersion=1.0.0.${env.BUILD_NUMBER}" + bat "\"${tool 'MSBuild'}\\msbuild.exe\" SolutionName.sln /p:Configuration=Release /p:Platform=\"Any CPU\" /p:ProductVersion=1.0.0.${env.BUILD_NUMBER}" stage 'Archive' archive 'ProjectName/bin/Release/**' -} \ No newline at end of file +}