Enriching the pipeline-execution info when using webhooks



When using the built-in Jenkins information it’s easy to get e.g. link to the Jenkins-build, see the Git commit hash etc…

Is there a way to get this information in when using webhooks for triggering…?

With a webhook call, I’m able to get only the version, name and type visible, but that’s it:

curl $ENDPOINT -X POST -H "content-type: application/json" -d '{ "artifacts": [ { "name": "test-app", "type": "archive/tgz", "version": "124" } ] }'

I’ve also heard / understood there’s a work in progress on enhancing the integrations with artifacts… But I’m not sure would it address this one as well…