Solving build failure in Jenkins