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

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

Workers is a JFrog Cloud Platform service that you can use to create and run plugins that 
extend JFrog Platform functionality via a built-in serverless execution environment. You can create Workers that are triggered when events occur in the JFrog Platform - similar to the behavior of AWS Lambda functions.

Let’s examine the workflow for creating, testing, and using a worker. For this example I want to prevent the upload of a file on Artifactory if the target path does not match a given pattern. In this case the pattern is defined with a regular expression