qodeninja
qodeninja

Reputation: 11266

Can you run an ant build script as part of a Hudson deployment?

We want to be able to deploy our project using Hudson, but the build file for the project generates some files and downloads packages from other locations.

Is it possible to make Hudson do these tasks as part of a deployment?

Upvotes: 0

Views: 1850

Answers (3)

user454043
user454043

Reputation:

You can use the maven ant plugin (http://maven.apache.org/plugins/maven-antrun-plugin/) to run ant script in hudson without configuring hudson. This is good for running the ant script manuelly as well as using hudson.

Upvotes: 0

Jens Theeß
Jens Theeß

Reputation: 580

And here is the link to the corresponding page in the hudson wiki: Building A Software Project

Upvotes: 0

Bernard
Bernard

Reputation: 7961

Hudson (Jenkins) has support for Ant, so yes, you can run any deployment tasks specified in your Ant scripts.

Upvotes: 2

Related Questions