I have Hudson to run builds as soon as changes have been made to any of the repositories.
There are some builds that I want to run once a week during the weekends, but with more special tests which take longer and I wouldn’t want to run every time there is a change in one of the source repositories.
Is there a way to pick and choose which tests to run or have it look up some environment variable that i set up before the build so it knows to run the additional tests.
Or is it best to separate those long tests into their own repository, and create a new weekend build. I use maven not ant.
Thoughts?
Please and thank you.
How do you run your test? Do you call
mvn clean installand maven does it’s magic? If so you can skip testing by runningmvn clean install -Dmaven.test.skip=true. As far as I know this skips at least the unit tests. If all tests that you have are unit tests, you have to separate them out of the building phase. You can goals to a mvn build.This is definitely a maven issue. Get accustomed with the maven life cycle first or find someone who knows maven better. The golden rule is, when you are able to run the build steps from command line, you can accomplish it with Hudson as well.