Distribution Task Maintenance

Use REST APIs to perform the following distribution task maintenance procedures:

  • Generate Maintenance Execution Token – Generates a time-limited encrypted token required to execute a maintenance action.
  • Execute Maintenance Action – Executes a maintenance action using a previously generated token. Two action types are supported:
    • Unlock stuck tasks: Unlocks all stuck distribution tasks.
    • Stop all tasks: Stops all running distribution tasks.
  • Get Stuck Distributions: Returns a list of all stuck distributions that need to be unlocked.
  • Distribute by Last Days: Redistributes all Release Bundle versions within a defined time period to a specified Edge node.

Tip

JFrog Distribution 2.32.0 and later contains an auto-recovery mechanism that detects and frees stuck distribution tasks. This feature is controlled by the stuck-tasks-auto-recovery-enabled property in the Distribution application config YAML file.


Did this page help you?