STEP 1 - Accessing Workers in your JFrog Instance

Workers: Creating your First Worker - A Step By Step Example

AuthorFullName__c
Christopher Milazzo, Ravit Shapira, Sean pratt
articleNumber
000005917
ft:sourceType
Salesforce
FirstPublishedDate
2023-11-28T08:25:43Z
lastModifiedDate
2023-11-28
VersionNumber
8
To find, edit, and create new workers you must be logged in as an admin user. Select the Administration tab. There you’ll see a new button called “Workers” as shown in the figure below:

User-added image

Figure 1 - Access the worker service by selecting Administration tab > Workers.

If you are using the new interface, use the button with the settings icon located in the up right corner and click on “Workers”:

User-added image

Figure 2 - In JFrog’s new interface access workers by selecting Settings > Worker.

Once in the Workers section you will see a set of cards representing actions upon which you can create workers. The Worker service is still in a BETA and offers a limited set of actions today, but this set will expand.

The workflow to use Workers may remind you of the Webhook service but there are a few differences between Events and Workers:
  • A worker is a script hosted on the JFrog platform
  • The script is provided with support tools to make workers easy to use (a topic for another article)
  • The service that launches an action that triggers a worker will wait for the worker's completion, so a worker can perform activities on the platform before the action actually occurs and is thus able to impact the result of the action.
The worker flow is summarized in the following figure:

User-added image

Figure 3 - Workflow of a worker service