A subsequent plugin update does in fact define the environment variable `WORKSPACE`. But yes you could always use `pwd()` instead.
-- 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/7c7bcbce-5193-4d57-9b34-c473a7754aaf%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
