-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(bitbucket) : Modify PushHook parse #84
Conversation
* Add "After" to matche the "change.fromHash" from the recent Bitbucket payload push event (fast fix for the skip-ci issue)
* Define the "FromHash" property from the push event of recent Bitbucket version
I've not realy tested it, but the goal is to add the "After" commit hash and with harness/harness#3038, the message could be filled. |
the |
I noticed you are trying to add Note that we recently (just a few days ago) merged a pull request that sets Before and After fields for Stash (Bitbucket Server). See #82. |
Yeah sorry, I've changed to use the "ToHash". I've actualy the last self-hosted Bitbucket server installed in my Kube, and I found this in the official doc : https://confluence.atlassian.com/bitbucketserver/event-payload-938025882.html |
not sure if you saw my previous comment, but the code in these files is for Bitbucket Cloud. The code for Bitbucket Server (Stash) can be found at github.com/drone/go-scm/scm/driver/stash. We also very recently merged pull request #82 which sets the Before and After values for Stash. |
Yeah, sorry, I've not well look up for. Then you should see the pull request about change the order fo fill the message before do the skip trigger. Is it in the 1.9.2 release of drone ? |
I will take a look at the other pull request ... let's move the discussion there. I am going to close this PR since Bitbucket Server has the Before and After fields populated. The 1.9.2 release does not have the latest version of the go-scm module, which means the dependency needs to be updated to take advantage of these features. Cheers. |
fix: If we have no default page or other options, respond with all items.
linked to : harness/harness#3038