Skip to content

Commit

Permalink
Merge pull request #182 from palantirnet/fail-on-build-errors
Browse files Browse the repository at this point in the history
Fail build when there are errors
  • Loading branch information
becw authored Oct 6, 2022
2 parents cc82b76 + c3613be commit bf504a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion defaults/install/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@

<!-- Target: artifact -->
<target name="artifact" description="Build and deploy the application.">
<phing phingfile="build.xml" target="artifact-main" inheritAll="false">
<phing phingfile="build.xml" target="artifact-main" inheritAll="false" haltonfailure="true">
<property name="build.env" value="@host@" />
</phing>
</target>
Expand Down
2 changes: 1 addition & 1 deletion targets/artifact.xml
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@
- Override the "artifact mode" so that files managed with the
<includeresource /> task are copied into the artifact instead of symlinked.
-->
<phing target="build" phingfile="${phing.file}" inheritAll="false" dir=".">
<phing target="build" phingfile="${phing.file}" inheritAll="false" dir="." haltonfailure="true">
<property name="build.site" value="${site_key}" />
<property name="drupal.root" value="${artifact.directory}/${drupal.root}" override="true" />
<property name="includeresource.mode" value="copy" override="true" />
Expand Down

0 comments on commit bf504a5

Please sign in to comment.