stratosgear
stratosgear

Reputation: 962

Specify ant target during Teamcity build run

I am trying to set up a Teamcity build configuration that runs from our build.xml ant script.

The ant script contains various targets:

<target name="compile"> ... </target>
<target name="package" depends="compile"> ... </target>
<target name="test" depends="package"> ... </target>
<target name="deploy" depends="test"> ... </target>

My intention is to have the build run the test target a couple of time first (until we get the build right) and then call the deploy target to upload the (now tested project) on our production server.

How can I set the Teamcity configuration settings so I can have a Testing build and a separate Deploy build?

or

Thanks...

Upvotes: 0

Views: 2143

Answers (1)

Aleš Roub&#237;ček
Aleš Roub&#237;ček

Reputation: 5187

You have to create more build configurations.

Upvotes: 1

Related Questions