Try to use StaplerRequest req = org.kohsuke.stapler.Stapler.getCurrentRequest()
-- You received this message because you are subscribed to the Google Groups "Jenkins Developers" 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-dev/98dcae4d-06db-4b7b-bf54-167acb1ef984%40googlegroups.com.
