Ok, I know what I did wrong now.
This:
path = "${WORKSPACE}"
Should be changed to:
def path = "${WORKSPACE}"
without def, path will be a variable with script-scope making getWorkspace()
return the workspace of the last caller.
Making path a local variable fixes the problem.
Best regards
Rasmus
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/45AD173563CB774A9CAB490CA130883B036D9C8BFA%40Exchange2010.kamstrup.dk.
For more options, visit https://groups.google.com/d/optout.