My Jenkins server is on a private network and I can’t get it to the internet. I have a Jfrog artifactory and I have added jenkins plugin website as remote repositories on the artifactory.
I have searched a lot on this topic on the forums but have not been successful yet. I saw that I can do this by configuring a proxy server through Jenkins, but I have an artifactory, do I need to set up a proxy server in addition to this?
How can I make my Jenkins plugins go to artifactory remote repositories instead of trying to access the internet while upgrading them?
For the poor souls arriving here with the same question: I had the same problem and decided to create an open source Maven plugin that simplifies the creation of the necessary files:
The plugin uses the original Jenkins sources and just adds a thin layer that makes it easier to create everything within a normal Maven build. Upload itself then can easily be done using the standard Maven “wagon:upload-single” plugin.