I'm working on Jenkins pipeline plugin that generates some paths relative 
to the workspace at the moment.
But sometimes I need to wrap my plugin with dir - 
https://github.com/jenkinsci/workflow-basic-steps-plugin/blob/master/src/main/java/org/jenkinsci/plugins/workflow/steps/PushdStep.java
 step.
Is there any way from within my plugin to know if it was wrapped by the 
"dir" step plugin so I can use that dir as a relative path vs if it was not 
in which case I should use the workspace as a relative path?

-- 
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/5ce71f78-8765-4471-b9b1-31d118c43e83%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to