IBM Cloud Docs
Updating the async stage webhooks

Updating the async stage webhooks

If you need to update the async webhook token in the pipeline, for example, to update a secret token, complete the following steps:

  1. Find the async webhook trigger, it is added to the triggers of your pipeline, named "Subpipeline Webhook Trigger"
  2. Update the "Secret" value of the trigger, and copy its value and save the trigger
  3. In the Pipeline Environment properties, set the new value to the secret subpipeline-webhook-token

The pipeline run now picks up the new secret value on the next new run, and will trigger your async stages.

The trigger name "Subpipeline Webhook Trigger" and the header name x-async-stage-token in the trigger are fixed, do not change these.

The pipeline variable subpipeline-webhook-token is also fixed. The triggering scripts will look for its content.

You can change the webhook URL and the worker of the trigger as well, if necessary, also any trigger parameters added to the Subpipeline Webhook Trigger will be available in the async stage.