make constants global, wrap cmake configure block in method
Merge pull request #563 from birarda/jenkins

make constants in jobs.groovy global