mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
Get builds working on cdt vserver again.
This commit is contained in:
parent
2fefe6d0f1
commit
39afec683f
1 changed files with 24 additions and 1 deletions
|
@ -5,7 +5,8 @@
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="build" depends="zips,test"/>
|
<target name="build" depends="zips,test"/>
|
||||||
<target name="nightly" depends="tag,zips,test,copy,mail"/>
|
<target name="nightly" depends="tag,zips,test,copy"/>
|
||||||
|
<target name="cdtbuild" depends="tag,zips,test,upload"/>
|
||||||
|
|
||||||
<target name="init">
|
<target name="init">
|
||||||
<touch file="${user.home}/.cvspass" />
|
<touch file="${user.home}/.cvspass" />
|
||||||
|
@ -131,6 +132,28 @@
|
||||||
out="${zipsdir}/junits.html"/>
|
out="${zipsdir}/junits.html"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
<target name="upload" depends="init" unless="hasErrors">
|
||||||
|
<property name="remotedir" value="dschaefer@dev.eclipse.org:cdt/builds/${branchVersion}"/>
|
||||||
|
<exec dir="${buildDirectory}" executable="scp">
|
||||||
|
<arg line="${remotedir}/index.html index.html"/>
|
||||||
|
</exec>
|
||||||
|
<replace file="${buildDirectory}/index.html">
|
||||||
|
<replacetoken><![CDATA[ <!-- add here -->]]></replacetoken>
|
||||||
|
<replacevalue><![CDATA[ <li><a href="@buildType@.@buildId@/index.html">@buildId@</a></li>
|
||||||
|
<!-- add here -->]]></replacevalue>
|
||||||
|
</replace>
|
||||||
|
<replace file="${buildDirectory}/index.html">
|
||||||
|
<replacefilter token="@buildType@" value="${buildType}"/>
|
||||||
|
<replacefilter token="@buildId@" value="${buildId}"/>
|
||||||
|
</replace>
|
||||||
|
<exec dir="${buildDirectory}" executable="scp">
|
||||||
|
<arg line="index.html ${remotedir}/index.html"/>
|
||||||
|
</exec>
|
||||||
|
<exec dir="${buildDirectory}" executable="scp">
|
||||||
|
<arg line="-r ${buildType}.${buildId} ${remotedir}"/>
|
||||||
|
</exec>
|
||||||
|
</target>
|
||||||
|
|
||||||
<target name="copy" depends="init" unless="hasErrors">
|
<target name="copy" depends="init" unless="hasErrors">
|
||||||
<property name="copyToDir" value="/home/www/tools/cdt/builds/${branchVersion}"/>
|
<property name="copyToDir" value="/home/www/tools/cdt/builds/${branchVersion}"/>
|
||||||
<replace file="${copyToDir}/index.html">
|
<replace file="${copyToDir}/index.html">
|
||||||
|
|
Loading…
Add table
Reference in a new issue