Workers

JFrog Platform Administration Documentation

Content Type
Administration / Platform
ft:sourceType
Paligo

Subscription Information

From Artifactory 7.94 the Workers service is supported with Enterprise X and Enterprise+ licenses.

Workers in Self-Hosted Environments

To use Workers in Self-Hosted environments, both Artifactory and Workers must be deployed in Kubernetes. For more information, see Installing Workers.Installing Workers

Workers is a JFrog Platform service that enables you to control your execution flows. Workers let you create and run plugins that extend JFrog Platform functionality via a built-in serverless execution environment. You can create Workers that are triggered automatically by events that occur in the JFrog Platform. You can also create HTTP-triggered Workers that are launched on-demand.

Workers service provides more flexibility to accomplish your use cases. You can use these workers to perform certain tasks that extend the capabilities of the JFrog Platform according to your requirements. 

Workers allow you to enhance the JFrog Platform functionality and provide control over your JFrog Platform that is tailored to your specific needs. For example, with Workers you can control and affect execution flows to enhance Platform security and block harmful events, such as by stopping an action if a user does not have permissions. A Worker functions as a hook that integrates codes with execution points in your execution flow.

You can write the code for workers in TypeScript directly in the JFrog Platform UI or through APIs. You can use the Workers built-in online editor to write and test code, and when you are ready, enable the worker in production with the click of a button.Workers REST APIs

When you create workers you can enable the ones that you want to use. Only those workers that you have enabled are the ones that will be triggered automatically when events occur in the JFrog platform.

The following sections explain how you can use Workers.