Skip to content
This repository has been archived by the owner on Jun 9, 2021. It is now read-only.

Add the ability to be notified for commits not pushed to pull requests #23

Open
itay opened this issue Apr 15, 2015 · 17 comments
Open

Add the ability to be notified for commits not pushed to pull requests #23

itay opened this issue Apr 15, 2015 · 17 comments

Comments

@itay
Copy link
Contributor

itay commented Apr 15, 2015

So this would change what the plugin would do, but it would be great to be able to be notified about commits as well (essentially pushes). There is already a plugin that does this:

https://bitbucket.org/aeffle/stash-http-get-post-receive-hook/

However, it doesn't do PRs. We currently use both, but it would be awesome if we could centralize on one plugin.

@tomasbjerre
Copy link
Owner

It would mean another set of variables. And the name of the plugin might have to be changed. I'll think about it, but I'm not sure its worth the effort. And I'm afraid the GUI may get harder to understand.

@mtakaki
Copy link

mtakaki commented Jul 28, 2016

Does this issue involves notifying whenever a change is pushed to a pull request?

At the moment I'm having issues with it. I set it up to notify on RESCOPED_FROM and RESCOPED_TO, but I never get a notification when I push a change to the remote branch. Although it works fine when I add a comment to it (when I enable the COMMENTED option).

@itay
Copy link
Contributor Author

itay commented Jul 28, 2016

@mtakaki we have it configured to notify on RESCOPED_FROM and it works just fine for us whenever a commit is pushed.

@mtakaki
Copy link

mtakaki commented Jul 28, 2016

Interesting... It doesn't work at all for me. I even checked the jenkins git logs and I never get a notification of a change there. The most interesting thing is that other events work, except for RESCOPED_*.

@itay
Copy link
Contributor Author

itay commented Jul 28, 2016

It's possible there is a bug in the later releases, we're a bit behind at the moment.

@mtakaki
Copy link

mtakaki commented Jul 28, 2016

Which version are you using? Maybe I could try downgrading mine. Or are you behind on bitbucket version too?

@tomasbjerre tomasbjerre changed the title Add the ability to be notified for commits Add the ability to be notified for commits not pushed to pull requests Jul 28, 2016
@itay
Copy link
Contributor Author

itay commented Jul 28, 2016

We are behind - currently on 4.1.3. I actually have a dev environment of the latest plugin and latest Bitbucket, let me try it there though.

@mtakaki
Copy link

mtakaki commented Jul 28, 2016

@tomasbjerre Does it mean there's no bug with notifying commits pushed to pull requests?

@mtakaki
Copy link

mtakaki commented Jul 28, 2016

Thanks, @itay! Really appreciate it. I'll be waiting for the result.

@tomasbjerre
Copy link
Owner

You may have found a bug @mtakaki.

Did you see the _issues_ section in the readme? Perhaps you should open an issue.

@mtakaki
Copy link

mtakaki commented Jul 28, 2016

@tomasbjerre I don't have access to the server logs, but I'll create an issue once I gather all the info. First I wanted to make sure this issue (#23) was not related to what I'm facing. And it would be great getting the result from @itay, so I can confirm if it's a real issue or just a configuration problem.

@tomasbjerre
Copy link
Owner

Its good to use the ${EVERYTHING_URL} when testing. As its the variable that is most likely to cause problems.

If you are using it @mtakaki , you may try not using it and instead use only the values you actually need.

@mtakaki
Copy link

mtakaki commented Jul 28, 2016

I'm currently using ${EVERYTHING_URL}, but it's working for other events... I'll give it a try anyway.

@mtakaki
Copy link

mtakaki commented Jul 28, 2016

@tomasbjerre you're right. I removed ${EVERYTHING_URL} and it worked. I guess I'll manually add the variables I need to the URL. Thank you both @tomasbjerre and @itay!

@tomasbjerre
Copy link
Owner

Om @mtakaki I am very interested in your server logs. Would be nice if you can open an issue once you have them. Most likely you will find a stacktrace there!

@itay
Copy link
Contributor Author

itay commented Jul 28, 2016

Yep, it seemed to be working for me as well on my dev instance (I think, having some other issue there).

@tomasbjerre it would be nice to maybe get a Gitter chat room for your repo. Not sure if you're interested in that or not.

@mtakaki
Copy link

mtakaki commented Jul 29, 2016

@tomasbjerre I opened #138 for this issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants