简体   繁体   中英

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 配置页面

构建配置

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM