put Jenkins build process into a script