If you operate several Jenkins masters with dozens of slaves, you might end up one day on a slave without knowing to which master it is connected. In case the master establishes the connection to the slave, following snippet will help
Artifactory provides a nice API for retrieval of several data. If you need a list of all remote repo keys you can use following script:
If you like to find out how many connections your Artifactory is using for dealing with its configured remote repositories, there is no obvious way to do that. Instead there’s a simple way to monitor the leased, pending, available and max connections via Artifactory’s built-in JMX-beans.
When dealing with jenkins views you will soon realize that this is not that easy as unlike Jenkins jobs or many other configuration stuff, views are not saved in a separate config file or location.