Skip to main content
Version: Early Access

JFrog Triggers

The Release JFrog trigger allows Release to interact with JFrog repositories. It uses the Jfrog REST API to communicate and fetch information from JFrog repositories.

A JFrog trigger periodically polls a JFrog server for new versions of a specific artifact. Later, triggers a release if a new version is published to the repository that is being watched.

Compatibility

The Release JFrog trigger is compatible with JFrog 7.4 and above.

Set up a JFrog server

  1. Log in to Release.

  2. In the left navigation bar, under CONFIGURATION group, click Connections.

  3. Click + next to the JFrog: Server - Artifactory. The JFrog: Server - Artifactory screen opens.

  4. In the Title box, type the JFrog server name.

  5. In the Url box, type the server address.

  6. In the Username and Password/Token boxes, type the server's username and password/token respectively.

  7. Click Save to save the server.

    JFog Server

Add a JFrog trigger for published artifact to a template

  1. Add a trigger to the template, as described in Create a release trigger.

  2. In the Title box, type the trigger name.

  3. In the Trigger type dropdown, select the JFrog : Published Artifact.

  4. In the Poll Type dropdown, select the REPEAT or CRON.

  5. In the Poll Interval box, type the poll internal in seconds for REPEAT mode or cron expression for CRON.

  6. In the Repository Id box, type the repository ID.

  7. In the Group Id box, type the artifact group ID.

  8. In the Artifact Id box, type the artifact ID.

  9. In the Version box, type the artifact version.

  10. In the Username and Password boxes, type the username and password to connect to the server. If set, these will override the credentials defined in the JFrog server configuration.

  11. Save the trigger, as described in Create a release trigger.

    JFog published artifact

Add a JFrog trigger for published image to a template

  1. Add a trigger to the template, as described in Create a release trigger.

  2. In the Title box, type the trigger name.

  3. In the Trigger type dropdown, select the JFrog : Published Image.

  4. In the Poll Type dropdown, select the REPEAT or CRON.

  5. In the Poll Interval box, type the poll Internal in seconds for REPEAT mode or cron expression for CRON.

  6. In the Repository Id box, type the repository ID.

  7. In the Image Name box, type the image name.

  8. In the Tag box, type the tag name.

  9. In the Username and Password boxes, type the username and password to connect to the server. If set, these will override the credentials defined in the JFrog server configuration.

  10. Save the trigger, as described in Create a release trigger.

    JFog published image

Manage triggers

The Triggers management page displays an actionable list of all the triggers that you have permissions to view and manage. It also provides the entry point for creating new triggers. For more information, see Triggers.