Thanks Gavin for replying, worked like a charm. Didn't know about the plugin.
On Wednesday, February 13, 2019 at 2:42:09 AM UTC+5:30, Gavin Mogan wrote: > > Can you put the files inside the resources directory and access them using > getResources()? > > If so, then a build step could be added to maven to get the files you want > - ex https://github.com/maven-download-plugin/maven-download-plugin > > On Tue, Feb 12, 2019 at 11:40 AM Rajeev Ranjan <[email protected] > <javascript:>> wrote: > >> Hi team, >> There's a issue which is bugging me a lot from a while. Don't know if it >> has been asked before. >> I am working on one plugin where I need some powershell files to execute >> some commands, and is shared across some different projects. These files >> are placed in public respository in a remote location. *Is it possible >> to get these files at build time and package these extra files in the hpi, >> along with dependency jars* which is created? If yes, how? >> Note: files are not in java project, so can't add as project depenenct >> itself. >> Thanks in advance >> >> -- >> 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] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-dev/ed8012c9-12f3-43c7-a442-df8b89437ac9%40googlegroups.com >> >> <https://groups.google.com/d/msgid/jenkinsci-dev/ed8012c9-12f3-43c7-a442-df8b89437ac9%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- 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/033e44f6-426b-4625-be01-819386f09668%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
