Michael
Michael

Reputation: 22957

hudson ci doesn't run ant scripts when building

I have set up hudson to download the specific jdk and ant version my ant scripts uses. i have added "invoke ant" script under "build" on the project configuration page and set it to use the jdk and ant version i wanted.

still, when building, all hudson does is to checkout from the svn and thats it, build successful.

am i missing something ?

thanks !

build log:

Started by user xxx.xxx

Updating http://............................... (i've omitted the path)

U
installation/antinstaller/resources/jboss.zip U
server/db/analytics/sequences/SEQ_SUI_APPLICATIONS.sql

At revision 18537

Finished: SUCCESS

here is my configuration page configuration page

build configuration

Upvotes: 0

Views: 527

Answers (1)

juliand
juliand

Reputation: 11

I had the same problem.

By creating a new project from scratch and then compare the config.xml in the jobs directory, I found that the problem with my first object was the following:

Somehow it had the tag <matrix-project> instead of <project> even though this was not visible in the HTML configuration. With the help of a search and replace tool like TextCrawler - which is the easiest way to deal with a lot of projects anyway - I got it working.

Upvotes: 1

Related Questions