1 comment
Comment actions Permalink

Currently I use next workaround, but built-in variable is better...

    <get src="http://mydomain.com/httpAuth/app/rest/buildTypes/id:${teamcity.buildType.id}/builds/status:SUCCESS/number"
        dest="${dir.src}/lastSuccessfulBuild.txt" username="user" password="pass"/>
    <loadfile property="lastSuccessfulBuild.number.raw" srcFile="${dir.src}/lastSuccessfulBuild.txt" />
    <delete file="${dir.src}/lastSuccessfulBuild.txt"/>

0

Please sign in to leave a comment.