Add short groovy script to retrieve configurations for matrix builds