In Jenkins:

ARTIFACTORY: Triggering Jenkins Pipeline Job using Artifactory Webhook Events

AuthorFullName__c
Rohith Balachandran
articleNumber
000005654
FirstPublishedDate
2023-03-30T06:25:51Z
lastModifiedDate
2025-07-22
VersionNumber
3

Install the Generic Webhook Trigger plugin. Create a new pipeline job Enable Generic Webhook Trigger plugin and  fill the variable and value filter in Post content parameters like as image below:

Variable: ARTIFCAT_NAME

value filter:  $.artifactory.webhook.data.name
User-added image

In case of any issues, while sending the Webhook to Jenkins, you may enable the Event service debugging in the system.yaml file to understand the root cause of it. The below change requires a restart of the Artifactory service. 

$Artifactory_Home/artifactory/var/etc/system.yaml

event:
    webhooks:
        urlStrictPolicy: false
        
    logging:
        application:
            level: "trace"


Note: Please make sure the Jenkins authentication is established successfully.

Attached corresponding event-service.log snippet for reference

2023-03-23T14:58:00.706Z [jfevt] [TRACE] [10642492a382b7bb] [acl.go:143                    ] [main                ] [                ] - On permissions affected - received message: type:KEEP_ALIVE [access_client]
2023-03-23T14:58:00.708Z [jfevt] [TRACE] [10642492a382b7bb] [gplatform_config_service.go:22] [main                ] [                ] - Got config update for key:  [access_client]
2023-03-23T14:58:03.953Z [jfevt] [TRACE] [69aa16e092e4c500] [http_middleware.go:79         ] [main                ] [                ] - AuthOptional - verifying [authorization]
2023-03-23T14:58:03.953Z [jfevt] [TRACE] [69aa16e092e4c500] [http_middleware.go:89         ] [main                ] [                ] - AuthOptional - no auth provided - ok [authorization]
2023-03-23T14:58:03.953Z [jfevt] [TRACE] [69aa16e092e4c500] [system_http_handler.go:129    ] [main                ] [                ] - Readiness Request [system_api]
2023-03-23T14:58:05.710Z [jfevt] [TRACE] [10642492a382b7bb] [gplatform_config_service.go:22] [main                ] [                ] - Got config update for key:  [access_client]
2023-03-23T14:58:05.710Z [jfevt] [TRACE] [10642492a382b7bb] [acl.go:143                    ] [main                ] [                ] - On permissions affected - received message: type:KEEP_ALIVE [access_client]
2023-03-23T14:58:08.953Z [jfevt] [TRACE] [3c9b62ca6c93ff8a] [http_middleware.go:79         ] [main                ] [                ] - AuthOptional - verifying [authorization]
2023-03-23T14:58:08.954Z [jfevt] [TRACE] [3c9b62ca6c93ff8a] [http_middleware.go:89         ] [main                ] [                ] - AuthOptional - no auth provided - ok [authorization]
2023-03-23T14:58:08.954Z [jfevt] [TRACE] [3c9b62ca6c93ff8a] [system_http_handler.go:129    ] [main                ] [                ] - Readiness Request [system_api]
2023-03-23T14:58:10.724Z [jfevt] [TRACE] [10642492a382b7bb] [gplatform_config_service.go:22] [main                ] [                ] - Got config update for key:  [access_client]
2023-03-23T14:58:10.724Z [jfevt] [TRACE] [10642492a382b7bb] [acl.go:143                    ] [main                ] [                ] - On permissions affected - received message: type:KEEP_ALIVE [access_client]