Hi,
I am trying out webhooks to integrate with a Jenkins. I have it working so far, a PR creation is triggering a build, but the parameters in the URL are not expanded. I turned on debug mode and this is what I am getting:
2021-03-30 16:49:12.642 [867762] DEBUG [rhodecode.integrations.types.base] register webhook call(<PullRequestUpdateEvent:(pullrequest-update)>) to url http://10.30.10.8:8080/job/libpython/buildWithParameters?token=xxxxx&BRANCH=${branch}&BRANCH_HEAD=${branch_head} | req_id:28e9b181-cd4b-4fb3-94b8-06e5a7e9d17d
2021-03-30 16:49:12.642 [867762] DEBUG [rhodecode.integrations.types.webhook] Webhook: calling following urls: [u'http://10.30.10.8:8080/job/libpython/buildWithParameters?token=xxxxxx&BRANCH=${branch}&BRANCH_HEAD=${branch_head}'] | req_id:28e9b181-cd4b-4fb3-94b8-06e5a7e9d17d
In the parameter section of the jenkins build I can also clearly see that the literal ${branch_head} was passed to the URL instead of the expanded name.
Is there anything I am doing wrong here?
I am using 4.24.1