diff --git a/Teamcity-Phabricator-Plugin/phabricator-plugin-agent/src/main/java/uk/xlab/teamcity/phabricator/AgentBuildExtension.java b/Teamcity-Phabricator-Plugin/phabricator-plugin-agent/src/main/java/uk/xlab/teamcity/phabricator/AgentBuildExtension.java index b88e9f0..421f575 100644 --- a/Teamcity-Phabricator-Plugin/phabricator-plugin-agent/src/main/java/uk/xlab/teamcity/phabricator/AgentBuildExtension.java +++ b/Teamcity-Phabricator-Plugin/phabricator-plugin-agent/src/main/java/uk/xlab/teamcity/phabricator/AgentBuildExtension.java @@ -98,6 +98,10 @@ public class AgentBuildExtension extends AgentLifeCycleAdapter { if (patchCode > 0) { runningBuild.stopBuild("Patch failed to apply. Check the agent output log for patch failure detals."); + return; } + + buildLogger.message(String.format(OUTPUT_PREFIX, "Patch completed")); + agentLogLogger.info("Patch completed"); } }