Pagine

Monday 19 June 2017

How to manage offline and online mode in your JFrog Artifactory

JFrog Artifactory supports two kind of offline cases: when the whole organization is disconnected from remote repositories and when one or more remote repositories needs to be put offline.
When the artifactory server (or single repo) is not possible the artifact downloads from remote repositories as maven repository (https://mvnrepository.com/).
It is possible to set your JFrog Artifactory in "Global Offline Mode" via Admin Console Web. In detail, select Admin -> Configuration -> General and flag the checkbox with label "Global Offline Mode". See the screenshot below:

Only an user with admin grant can set on/off this mode. Of course when "Global Offline Mode" is enabled, options online/offline on individual repositories are not considered because all repositories
become offline.
Instead, you can configure your artifactory server online and some repositories offline. In this case, select Admin -> Repositories -> Remote, choose the repository and flag the checkbox with label "Offline". See the screenshot below:
Again, you need a user with admin grant can set on/off this mode.

6 comments: