Jenkins. How to get Trigger builds remotely data from POST BODY -
jenkins. how trigger builds remotely data post body
quay.io (private docker containers registry) has notification build status through webhook post, data in body. tried google , read jenkins docs, found how read parameters url.
i found plugin (generic webhook trigger), capable partially. able work 1 link (http://{jenkins_url}/generic-webhook-trigger/invoke). , start different jobs need use regexp.
at same time need set minimum 3 notifications on quay.io , lot of webhooks different services. maybe knows how set in jenkins such stuff:
- create route {jenkins_url}/jobname/ …
- take whole parameters , write down $post_data variable.
- execute script $post_data parameter. manipulations i’m able myself in script.
Comments
Post a Comment