Trigger Builds with the Jenkins Artifactory Plug-in

JFrog Integrations Documentation

Content Type
Integrations
ft:sourceType
Paligo

The Artifactory Trigger allows a Jenkins job to be automatically triggered when files are added or modified in a specific Artifactory path. The trigger periodically polls Artifactory to check if the job should be triggered.

To enable the Artifactory trigger, follow these steps:

1. In the Jenkins job UI, go to Build Triggers, and check the Enable Artifactory trigger checkbox.

2. Select an Artifactory server.

3. Define a cron expression in the Schedule field. For example, to pull Artifactory every ten minutes, set */10 * * * *

4. Set a Path to watch. For example, when setting generic-libs-local/builds/starship, Jenkins polls the /builds/starship folder under the generic-libs-local repository in Artifactory for new or modified files.

artifactory-trigger.png