Class AzureCosmosDBCache

java.lang.Object
io.jenkins.plugins.azurecosmosdb.AzureCosmosDBCache

public class AzureCosmosDBCache extends Object
Cache to prevent authenticating every time the step is invoked.
  • Method Details

    • get

      public static com.azure.cosmos.CosmosClient get(String credentialsId, Item item)
    • invalidateCache

      public static void invalidateCache()
      Used to notify when credentials change, e.g. service principal secret updated.