A plugin to service a RESTful POST from the Artifactory webhook plugin?

7 views
Skip to first unread message

Adrian Blakey

unread,
Feb 4, 2020, 7:09:01 AM2/4/20
to Jenkins Users
Is there a Jenkins plugin for responding to an Artifactory webhook plugin - or indeed any caller to the REST api to invoke a job?

I have successfully tested the Artf. plugin to call the Jenkins REST api to kick off a job. The Artf. POST call passes a lot of additional information in a json object which is ignored by the job. I'd like to be able to enable a job/build pipeline so that if it's invoked from the Jenkins REST api it reads the json object passed in the POST, flattens it and turns it into environment variables. It does not need to be specifically tailored to the json passed by the Artf. webhook and should treat any json object pass in the "job" all the same way. 
Reply all
Reply to author
Forward
0 new messages