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
{ "domain": "artifact", "event_type": "deployed", "data": { "repo_key": "example-repo-local", "path": "pipeinfo7.json", "name": "pipeinfo7.json", "sha256": "8b6cd18345075ff248487fed24e87ff0acff1454e761cc0676f78fc898dff7a7", "size": 203 }, "subscription_key": "jfdev-agent", "source": "jfrog/jfrt@01fsmwgxevmmcr1ajmvhfw1j9s" }
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
{ "repo_key":"sample_repo", "event_type":"deleted", "path":"sample_path_dir/sample_artifact", "name":"sample_artifact", "sha256":"ec1be623d148ed220f70f4f6125dc738b1d301a85b75e87c5b554fa3bb1b4141", "size":17848 }
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
{ "repo_key":"sample_repo", "event_type":"moved", "path":"sample_path_dir/sample_artifact", "name":"sample_artifact", "size":0, "source_repo_path":"sample_repo/sample_path_dir/sample_artifact", "target_repo_path":"target_repo/sample_path_dir/sample_artifact" }
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
{ "repo_key":"sample_repo", "event_type":"copied", "path":"sample_path_dir/sample_artifact", "name":"sample_artifact", "size":0, "source_repo_path":"sample_repo/sample_path_dir/sample_artifact", "target_repo_path":"target_repo/sample_path_dir/sample_artifact" }
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
{ "repo_key":"sample_repo", "event_type":"cached", "path":"sample_path_dir/sample_artifact", "name":"sample_artifact", "sha256":"ec1be623d148ed220f70f4f6125dc738b1d301a85b75e87c5b554fa3bb1b4141", "size":17848 }