Skip to content

Commit

Permalink
Fix JENKINS-15029 and JENKINS-14898
Browse files Browse the repository at this point in the history
  • Loading branch information
gboissinot committed Sep 17, 2012
1 parent 5eab101 commit fdf464e
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/main/java/hudson/plugins/msbuild/MsBuildBuilder.java
Expand Up @@ -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")
Expand Down Expand Up @@ -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;
}
}
}

Expand Down

0 comments on commit fdf464e

Please sign in to comment.