Looks good as is, but I notice that these 3 lines are repeated several times. It'd be possible to create a method - something like createExampleTasks(name, path) - which created analysis and build tasks for each sample.