mirror of https://github.com/apache/cloudstack.git
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.
This commit is contained in:
parent
73be77a4c1
commit
9acd1ccaa3
|
|
@ -241,7 +241,7 @@
|
|||
</condition>
|
||||
|
||||
<echo message="deploydb ${server-setup.file} ${templates.file} ${DBROOTPW}" />
|
||||
<exec dir="${db.scripts.dir}" executable="bash">
|
||||
<exec dir="${db.scripts.dir}" executable="bash" failonerror="true">
|
||||
<arg value="deploy-db-dev.sh" />
|
||||
<arg value="${server-setup.file}" />
|
||||
<arg value="${templates.file}" />
|
||||
|
|
@ -269,7 +269,7 @@
|
|||
</condition>
|
||||
|
||||
<echo message="deploydb ${server-setup.file} ${templates.file} ${DBROOTPW}" />
|
||||
<exec dir="${db.scripts.dir}" executable="bash">
|
||||
<exec dir="${db.scripts.dir}" executable="bash" failonerror="true">
|
||||
<arg value="deploy-db-simulator.sh" />
|
||||
<arg value="${server-setup.file}" />
|
||||
<arg value="${templates.file}" />
|
||||
|
|
@ -401,7 +401,7 @@
|
|||
<property name="commands.vr.file" location="${dist.dir}/client/conf/virtualrouter_commands.properties" />
|
||||
|
||||
<echo message="build-apidocs" />
|
||||
<exec dir="${apidoc.scripts.dir}" executable="bash">
|
||||
<exec dir="${apidoc.scripts.dir}" executable="bash" failonerror="true">
|
||||
<arg value="build-apidoc.sh" />
|
||||
<arg value="${target.dir}/jar" />
|
||||
<arg value="${deps.dir}" />
|
||||
|
|
|
|||
Loading…
Reference in New Issue