Skip to content

Commit 9acd1cc

Browse files
Ewan MellorPrasanna Santhanam
authored andcommitted
FailOnError for deploydb and doc targets
Use failonerror=true for the exec calls used in the deploy-cloudstack-db, deploydb-simulator, and build-apidocs targets.
1 parent 73be77a commit 9acd1cc

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎build/developer.xml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@
241241
</condition>
242242

243243
<echo message="deploydb ${server-setup.file} ${templates.file} ${DBROOTPW}" />
244-
<exec dir="${db.scripts.dir}" executable="bash">
244+
<exec dir="${db.scripts.dir}" executable="bash" failonerror="true">
245245
<arg value="deploy-db-dev.sh" />
246246
<arg value="${server-setup.file}" />
247247
<arg value="${templates.file}" />
@@ -269,7 +269,7 @@
269269
</condition>
270270

271271
<echo message="deploydb ${server-setup.file} ${templates.file} ${DBROOTPW}" />
272-
<exec dir="${db.scripts.dir}" executable="bash">
272+
<exec dir="${db.scripts.dir}" executable="bash" failonerror="true">
273273
<arg value="deploy-db-simulator.sh" />
274274
<arg value="${server-setup.file}" />
275275
<arg value="${templates.file}" />
@@ -401,7 +401,7 @@
401401
<property name="commands.vr.file" location="${dist.dir}/client/conf/virtualrouter_commands.properties" />
402402

403403
<echo message="build-apidocs" />
404-
<exec dir="${apidoc.scripts.dir}" executable="bash">
404+
<exec dir="${apidoc.scripts.dir}" executable="bash" failonerror="true">
405405
<arg value="build-apidoc.sh" />
406406
<arg value="${target.dir}/jar" />
407407
<arg value="${deps.dir}" />

0 commit comments

Comments
 (0)