mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-01 22:25:25 +02:00
Add signing to the build.
This commit is contained in:
parent
542e0f2fdd
commit
bd9d9d2a75
1 changed files with 15 additions and 1 deletions
|
@ -5,7 +5,8 @@
|
|||
</target>
|
||||
|
||||
<target name="build" depends="zips,test"/>
|
||||
<target name="nightly" depends="tag,zips,test,copy"/>
|
||||
<target name="nightly" depends="tag,zips,sign,test,copy"/>
|
||||
|
||||
<target name="cdtbuild" depends="tag,zips,test,upload"/>
|
||||
|
||||
<target name="init">
|
||||
|
@ -24,6 +25,7 @@
|
|||
<property name="buildType" value="I" />
|
||||
<property name="buildId" value="${buildType}${timestamp}"/>
|
||||
<property name="zipsdir" value="${buildDirectory}/${buildType}.${buildId}"/>
|
||||
<property name="masterFile" value="cdt-master-${branchVersion}-${buildId}.zip"/>
|
||||
<property name="eclipseTest" value="org.eclipse.test_3.2.0"/>
|
||||
<property name="messagefile" value="message.in"/>
|
||||
<property name="mailto" value="dschaefer@qnx.com"/>
|
||||
|
@ -132,6 +134,18 @@
|
|||
out="${zipsdir}/junits.html"/>
|
||||
</target>
|
||||
|
||||
<target name="sign" depends="init" unless="hasErrors">
|
||||
<exec command="sign">
|
||||
<arg value="${zipsdir}/${masterFile}"/>
|
||||
<arg value="nomail"/>
|
||||
<arg value="${buildDirectory}"/>
|
||||
</exec>
|
||||
<waitfor maxwait="30" maxwaitunit="minute">
|
||||
<available file="${buildDirectory}/${masterFile}"/>
|
||||
</waitfor>
|
||||
<move file="${buildDirectory}/${masterFile}" todir="${zipsdir}"/>
|
||||
</target>
|
||||
|
||||
<target name="upload" depends="init" unless="hasErrors">
|
||||
<property name="remotedir" value="dschaefer@dev.eclipse.org:cdt/builds/${branchVersion}"/>
|
||||
<exec dir="${buildDirectory}" executable="scp">
|
||||
|
|
Loading…
Add table
Reference in a new issue