jenkinsci / stashnotifier-plugin

A Jenkins Plugin to notify Atlassian Stash|Bitbucket of build results
https://plugins.jenkins.io/stashNotifier/
Other
163 stars 136 forks source link

Enhancement/restapi update #391

Open BUGinator86 opened 4 months ago

BUGinator86 commented 4 months ago

Updated Pullrequest to also include tests for requests with bitbucket projectkey and slug. Also put creation of payload in HttpNotifier classes to make it possible to create different payloads for different versions of stash/bitbucket. Introduces ExtendedApacheHttpNotifier for extended payload and new selector that creates the ExtendedApacheHttpNotifier only if a BitBucket projectkey and slug is provided. Else the behaviour is the same as before.

Testing done

Submitter checklist