mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Merge branch 'feature/BDE-743_Elastic' into 'master'
Change installer download logic for rm-automation It changes from SCP to ANT get so Elastic Bamboo agents can download the installers. This requires a change in the bamboo build plan for the {{installer.path}} variable See merge request !362
This commit is contained in:
@@ -194,8 +194,7 @@
|
|||||||
<echo>Recreating database...</echo>
|
<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>
|
<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>
|
<echo>Downloading Alfresco installer...</echo>
|
||||||
<sshexec username="tomcat" host="pbam01.alfresco.com" keyfile="${user.home}/.ssh/id_rsa" outputproperty="installerPath" command="ls -rt ${installer.path} | tail -1 | tr ' ' '?' " />
|
<get src="https://releases.alfresco.com/${installer.path}" dest="target/alf-installer.bin"/>
|
||||||
<scp remoteFile="tomcat@pbam01.alfresco.com:${installerPath}" localTofile="target/alf-installer.bin" keyfile="${user.home}/.ssh/id_rsa" />
|
|
||||||
<chmod file="target/alf-installer.bin" perm="a+x" verbose="true" />
|
<chmod file="target/alf-installer.bin" perm="a+x" verbose="true" />
|
||||||
<echo>Installing Alfresco...</echo>
|
<echo>Installing Alfresco...</echo>
|
||||||
<exec executable="${basedir}/target/alf-installer.bin" dir="target" failonerror="true">
|
<exec executable="${basedir}/target/alf-installer.bin" dir="target" failonerror="true">
|
||||||
|
Reference in New Issue
Block a user