Refactoring  methods to build urls.
Merge branch 'master' of https://github.com/tusharm/jenkins-metrics