Domain: Artifact

JFrog Platform Administration Documentation

Content Type
Administration / Platform
ft:sourceType
Paligo

Includes events that are triggered when certain artifact events occur in Artifactory:

Event: deployed

The Webhook is triggered when an artifact is deployed to a repository. You can select the repositories and repository paths on which the Webhook will be applied.

Artifact was Deployed

"event": {
        "id": "01HHPQXBVCH3XM1WZZF8910TRA",
        "subscription_key": "demo",
        "domain": "artifact",
        "event_type": "deployed",
        "data": "{\"repo_key\":\"example-repo-local\",\"path\":\"access_build.log\",\"name\":\"access_build.log\",\"sha256\":\"6e90b94fa14c71ac003a159\",\"size\":422905}",
        "source": "jfrog/jfrt@01hhpqgjhcns8d0rxqx8gh0kjt"
        }
Event: deleted

The Webhook is triggered when an artifact is deleted from a repository. You can select the repositories on which the Webhook will be applied.

Artifact was Deleted

"event": {
        "id": "01HHPQYT85X4SR166071EN1BZ1",
        "subscription_key": "demo",
        "domain": "artifact",
        "event_type": "deleted",
        "data": "{\"repo_key\":\"example-repo-local\",\"path\":\"access_build.log\",\"name\":\"access_build.log\",\"sha256\":\"6e90a7a4fd286f5f1f\",\"size\":422905}",
        "source": "jfrog/jfrt@01hhpqgjhcns8d0rxqx8gh0kjt"
        }
Event: moved

The Webhook is triggered when an artifact is moved from a repository. You can select the repositories and repository paths on which the Webhook will be applied. The Webhook will apply on the repositories from which the artifact is moved.

Artifact was Moved

"event": {
        "id": "01HHPQYT85X4SR166071EN1BZ1",
        "subscription_key": "demo",
        "domain": "artifact",
        "event_type": "moved",
        "data": "{\"repo_key\":\"example-repo\",\"path\":\"access_build.log\",\"name\":\"access_build.log\",\"size\":422905}", \"source_repo_path\":\"sample_repo/sample_artifact\", \"target_repo_path\":\"target_repo/sample_artifact\",
        "source": "jfrog/jfrt@01hhpqgjhcns8d0rxqx8gh0kjt"
        }
Event: copied

The Webhook is triggered when an artifact is copied from a repository. You can select the repositories and repository paths on which the Webhook will be applied. The Webhook will apply on the repositories from which the artifact is copied.

Artifact was Copied

"event": {
        "id": "01HHPQYT85X4SR166071EN1BZ1",
        "subscription_key": "demo",
        "domain": "artifact",
        "event_type": "copied",
        "data": "{\"repo_key\":\"example-repo\",\"path\":\"access_build.log\",\"name\":\"access_build.log\",\"size\":422905}", \"source_repo_path\":\"sample_repo/sample_artifact\", \"target_repo_path\":\"target_repo/sample_artifact\",
        "source": "jfrog/jfrt@01hhpqgjhcns8d0rxqx8gh0kjt"
        }
Event: cached

The Webhook is triggered for each artifact that is pulled from a new remote repository. Webhooks are generated when downloading remote artifacts, for example: npm install busybox. If a webhook can be generated for push replication and the downloading of a remote artifact then it should also work for pull replication as well.

Artifact was Cached

"event": {
        "id": "01HHPQYT85X4SR166071EN1BZ1",
        "subscription_key": "demo",
        "domain": "artifact",
        "event_type": "cached",
        "data": "{\"repo_key\":\"example-repo-local\",\"path\":\"access_build.log\",\"name\":\"access_build.log\",\"sha256\":\"6e90a7a4fd286f5f1f\",\"size\":422905}",
        "source": "jfrog/jfrt@01hhpqgjhcns8d0rxqx8gh0kjt"
        }