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]> 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]. > 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/CAAgr96%2BAkBseMWz3z5wHcg40Xshn%2BgZ4%2BoU8xZgqVZn0YEnA%3Dw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
