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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.