Skip to content
Permalink
Browse files
Fix JENKINS-15029 and JENKINS-14898
  • Loading branch information
gboissinot committed Sep 17, 2012
1 parent 5eab101 commit fdf464ea9b31c908b7474cbace838baf2135e2b6
Showing with 1 addition and 7 deletions.
  1. +1 −7 src/main/java/hudson/plugins/msbuild/MsBuildBuilder.java
@@ -33,7 +33,7 @@ public class MsBuildBuilder extends Builder {
* @param msBuildFile The name/location of the MSBuild file
* @param cmdLineArgs Whitespace separated list of command line arguments
* @param buildVariablesAsProperties If true, pass build variables as properties to MSBuild
* @param continueOnBuildFailure If true, pass build variables as properties to MSBuild
* @param continueOnBuildFailure If true, pass build variables as properties to MSBuild
*/
@DataBoundConstructor
@SuppressWarnings("unused")
@@ -151,12 +151,6 @@ public boolean perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListen
FilePath msBuildFilePath = pwd.child(normalizedFile);
if (!msBuildFilePath.exists()) {
pwd = build.getWorkspace();
msBuildFilePath = pwd.child(normalizedFile);
if (!msBuildFilePath.exists()) {
listener.fatalError(String.format("Can't find %s file", normalizedFile));
build.setResult(Result.FAILURE);
return false;
}
}
}

0 comments on commit fdf464e

Please sign in to comment.