Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail build when there are errors #182

Merged
merged 5 commits into from
Oct 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion defaults/install/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,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