Hello Jenkins friends,
I created a Jenkins Freestyle project that contains the step "Execute Groovy Script". From the script, I want to trigger another parameterized job on the same Jenkins server.
Does anybody know how I can do this?
def triggerBuild(paramter1, paramter2) {
// trigger job with name "foo" and set the paramters param1 and param2
//to the values of the variables parameter1 and parameter2
}