diff --git a/changelog.html b/changelog.html
index 893865abc1..5d3649b67f 100644
--- a/changelog.html
+++ b/changelog.html
@@ -74,6 +74,9 @@ Upcoming changes
Remember the lastStable/Failed/Successful/etc builds to avoid eager loading builds.
(issue 16089)
+
+ Wrong build result in post build steps after failed pre build step in maven projects.
+ (issue 17177)
diff --git a/maven-plugin/src/main/java/hudson/maven/MavenModuleSetBuild.java b/maven-plugin/src/main/java/hudson/maven/MavenModuleSetBuild.java
index 6d5b93ee26..c5874d3d61 100644
--- a/maven-plugin/src/main/java/hudson/maven/MavenModuleSetBuild.java
+++ b/maven-plugin/src/main/java/hudson/maven/MavenModuleSetBuild.java
@@ -598,8 +598,10 @@ public class MavenModuleSetBuild extends AbstractMavenBuild build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException {
+ result = build.getResult();
+ return super.perform(build, launcher, listener);
+ }
+
+ public Result getResult() {
+ return result;
+ }
+}
\ No newline at end of file