Backport get_jenkins_scripts_version function.
Use esteve's fork temporarily