I have a Hudson job with 2 tasks. If I start task A and then start task B while task A is still running, then task B will not start running until task A has finished. I have no locking on this job (i.e. "Locks" option is not ticked). How do I enable this job so that task A and task B will run simultaneously?
A:
The Batch Tasks plugin treats tasks as basically steps in a queue so, at present, I doubt you can have them run simulataneously.
If you want two tasks to run simultaneously (all the time?), when not just put those tasks as external scripts and then create a task to run them both at the same time?
aberrant80
2009-06-17 06:43:16
A:
Normal builds and batch jobs have an implicit lock on the workspace - you wouldn't want the build to start in the middle of your batch job and wipe out the workspace, so this make sense. You could argue for a selection between shared and exclusive workspace locking when running the batch jobs. At present, it's always exclusive, as you've noticed.
Michael Donohue
2009-07-20 13:39:46