Monday, October 31, 2011

ADF Hudson configuration and usage

Ok so we moved off team city to use Hudson, so I though I would note some of my hassles.

1) No as many as though just needed to make use of the Advanced Project Options to set the checkout directory for some projects (our build project mainly has relative paths).

Tick Use custom workspace
  set directory to the desired location like: ./jobs/project/${JOB_NAME}
Tick Clean workspace before build 

2) our poll SCM 0,10,20,30,40,50 * * * *

3) Advanced button near invoke ant has a Build file property for ant files not in the root ours: Build/build.xml

4) Used Archive the artifacts property - tip for this just put in the name of the artifact you want to archive and on the first build Hudson will tell you where the file is located in the console output.

NOTE: a move to maven would fix all my problems but we have a couple of draconian internet policy so I will need to get an artifactory user setup for the downloads before we embark hassles.

No comments:

Post a Comment