Fixed Alfresco installer host

(cherry picked from commit 3070866e2c)
This commit is contained in:
Tuna Aksoy
2016-11-13 21:52:33 +00:00
committed by Tom Page
parent cba57bc0bb
commit b0fb8b8d67

View File

@@ -19,6 +19,10 @@
<skip.automationtests>true</skip.automationtests>
</properties>
<properties>
<alfresco.installer.host>nightlybuilds</alfresco.installer.host>
</properties>
<build>
<plugins>
<plugin>
@@ -205,7 +209,7 @@
<echo>Recreating database...</echo>
<sql driver="org.postgresql.Driver" url="jdbc:postgresql:template1" userid="alfresco" password="alfresco" autocommit="true">drop database if exists alfresco; create database alfresco</sql>
<echo>Downloading Alfresco installer...</echo>
<get src="https://releases.alfresco.com/${installer.path}" dest="target/alf-installer.bin" />
<get src="https://${alfresco.installer.host}.alfresco.com/${installer.path}" dest="target/alf-installer.bin" />
<chmod file="target/alf-installer.bin" perm="a+x" verbose="true" />
<echo>Installing Alfresco...</echo>
<exec executable="${basedir}/target/alf-installer.bin" dir="target" failonerror="true">