Skip to content

Commit

Permalink
Fix ant pushing stats file to web server for test flows. Closes #15.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rhys Smith committed Aug 19, 2016
1 parent 7081c2b commit 9053254
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1966,15 +1966,20 @@

<target name="publish.otherfiles">
<!--
Push other files for the UK Federation to the web server
Push other files for the UK Federation to the web server - but only when in prod env!
-->
<echo>Pushing UK Federation other files to web site.</echo>
<echo>-> Web1</echo>
<scp failonerror="true" remoteTodir="${www.url}" keyfile="~/.ssh/id_rsa" knownhosts="~/.ssh/known_hosts">
<fileset dir="${aggregates.dir}">
<include name="${mdaggr.stats}"/>
</fileset>
</scp>
<if>
<equals arg1="${env}" arg2="prod"/>
<then>
<echo>Pushing UK Federation other files to web site.</echo>
<echo>-> Web1</echo>
<scp failonerror="true" remoteTodir="${www.url}" keyfile="~/.ssh/id_rsa" knownhosts="~/.ssh/known_hosts">
<fileset dir="${aggregates.dir}">
<include name="${mdaggr.stats}"/>
</fileset>
</scp>
</then>
</if>
</target>


Expand Down

0 comments on commit 9053254

Please sign in to comment.