Get payload parameters in Jenkins

前端 未结 2 1540
野性不改
野性不改 2021-01-24 10:15

I\'m a newbie in Jenkins. I followed this help to implement Jenkins, Github and Webhook.

However, I\'m stuck in this problem. I want to get the payload parameters in Je

2条回答
  •  悲哀的现实
    2021-01-24 10:30

    Easier way of doing this, without an extra library for parsing JSON, would be using the Generic Webhook Trigger Plugin in Jenkins.

    It can resolve any value from the JSON using JSONPath and assign it to variables available in the build.

提交回复
热议问题