On Wed, Jul 10, 2019 at 4:07 PM Ullrich Hafner <ullrich.haf...@gmail.com> wrote: > Is there a public API to obtain the actual subfolder of the Git repositories > of a pipeline?
Not as such. (You could work your way to more or less that information by inspecting the flow graph.) Anyway how would that even work if the checkout is done, say, in a Kubernetes pod which is then discarded? You would have to implement `SCMListener.onCheckout` and do your analysis the moment the checkout happens, while the remote filesystem is still live. The more supported path is to call `getChangeSets()` and proceed from there, without touching the build’s own private checkout. -- 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 jenkinsci-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr0SJBSpuVkzKV%3DcHn2ovhsvjOpHrmzeBQVoVNk048yweQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.