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:

  1. create route {jenkins_url}/jobname/ …
  2. take whole parameters , write down $post_data variable.
  3. execute script $post_data parameter. manipulations i’m able myself in script.


Comments

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -