updated jenkins script to work for specific release versions