Removed the echo as it doesn't work in teamcity.

This commit is contained in:
2019-07-19 20:43:40 +01:00
parent 5f55d9f28f
commit d9e551707f
-3
View File
@@ -35,10 +35,7 @@
<foreach item="File" in="${build.output.directory}" property="fileName"> <foreach item="File" in="${build.output.directory}" property="fileName">
<if test="${string::to-lower(path::get-extension(fileName)) == '.msi'}"> <if test="${string::to-lower(path::get-extension(fileName)) == '.msi'}">
<property name="tofile" value="${path::combine(path::get-directory-name(fileName), path::get-file-name-without-extension(fileName) + '.' + environment::get-variable('BUILD_NUMBER') + '.msi')}" /> <property name="tofile" value="${path::combine(path::get-directory-name(fileName), path::get-file-name-without-extension(fileName) + '.' + environment::get-variable('BUILD_NUMBER') + '.msi')}" />
<move file="${fileName}" tofile="${tofile}" />
<echo message="##teamcity[setParameter name='env.MSIFileName' value='${tofile}']" /> <echo message="##teamcity[setParameter name='env.MSIFileName' value='${tofile}']" />
</if> </if>
</foreach> </foreach>