On Fri, Apr 3, 2020 at 4:15 AM Nikhil Bhoski <[email protected]> wrote: > I tried above and it I can set the tool in PATH variable through my > SimpleBuildWrapper however i can successfully use the PATH only with bat() or > sh() step > … PATH variable is not applicable to the Process launched in Builder class > even if the Builder class implements the SimpleBuildStep
Ah yes, JENKINS-29144. There is no API for the `SimpleBuildStep` to retrieve the contextual `$PATH`. You can write a Pipeline-specific `Step` which will work in that case. (The `SimpleBuildWrapper` is fine.) -- 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/CANfRfr24Sr5uWbm7mi4b%3DjCPLd6NDAwV0HTZUzrV9k65BVbY5A%40mail.gmail.com.
