added utility function
Merge pull request #18 from fstagni/jenkins

added utility function