updated script to iterate through all projects on Jenkins server