Reconstructed jenkins.js for the new repository structure