Hi ,
I have extended SimpleBuildWrapper Class which basically updated the PATH variable using
context.env("PATH+mytool",gePathOfTool()+ nodespecificFielspe + "bin")
This works fine when i run it through Freestyle project using jenkins UI . However when i run the same in pipeline sript the builder step does not find the PATH variable at all
PATH for both conext and build.getEnvironemnt(listener) shows null . any ideaon how can i get the PATH updated during build using my SimpleBuildWrapper ?
Regards
Nikhil