[JIRA] [bitbucket-branch-source-plugin] (JENKINS-33507) Bitbucket Server webhooks and Bitbucket Cloud build status notifications
Title: Message Title Mark Ottaviani commented on JENKINS-33507 Re: Bitbucket Server webhooks and Bitbucket Cloud build status notifications Is https://marketplace.atlassian.com/plugins/com.atlassian.stash.plugin.stash-web-post-receive-hooks-plugin/server/overview a viable option? Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [bitbucket-branch-source-plugin] (JENKINS-33507) Bitbucket Server webhooks and Bitbucket Cloud build status notifications
Title: Message Title Nenad Miksa commented on JENKINS-33507 Re: Bitbucket Server webhooks and Bitbucket Cloud build status notifications We actually have solved this way: we created a webhook on BitBucket which every time there is a push to repository or pull request is created or updated, it calls this URL: http://jenkins.server/job/MyPipelineJob/build MyPipelineJob is multibranch pipeline job which only enumerates changes in pull requests and feature branches and triggers builds if necessary. However, we are missing Build status badges from BitBucket BuildStatus API. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [bitbucket-branch-source-plugin] (JENKINS-33507) Bitbucket Server webhooks and Bitbucket Cloud build status notifications
Title: Message Title Antonio Muñiz commented on JENKINS-33507 Re: Bitbucket Server webhooks and Bitbucket Cloud build status notifications From https://github.com/Nerdwin15/stash-jenkins-postreceive-webhook/blob/master/src/main/java/com/nerdwin15/stash/webhook/Notifier.java#L94 private static final String BASE_URL = "%s/git/notifyCommit?url=""> Oh, that looks like a blocker. Bitbucket Branch Source uses another URL. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [bitbucket-branch-source-plugin] (JENKINS-33507) Bitbucket Server webhooks and Bitbucket Cloud build status notifications
Title: Message Title Ben Middleton commented on JENKINS-33507 Re: Bitbucket Server webhooks and Bitbucket Cloud build status notifications I'm not sure there are any other options right now. Unfortunately this is a show-stopper for us, which is preventing us moving to Jenkins Pipelines. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [bitbucket-branch-source-plugin] (JENKINS-33507) Bitbucket Server webhooks and Bitbucket Cloud build status notifications
Title: Message Title Mike Kobit commented on JENKINS-33507 Re: Bitbucket Server webhooks and Bitbucket Cloud build status notifications I filed an issue to the previously mentioned Bitbucket Server hook [https://github.com/Nerdwin15/stash-jenkins-postreceive-webhook/issues/171|here]. Unfortunately, there doesn't appear to be a large amount of activity on this repository (last commit in January). It looks like the notification URL is hardcoded to a specific URL (I'm guessing from the Git plugin, but I'm not familiar enough with Jenkins internals): From https://github.com/Nerdwin15/stash-jenkins-postreceive-webhook/blob/master/src/main/java/com/nerdwin15/stash/webhook/Notifier.java#L94 private static final String BASE_URL = "%s/git/notifyCommit?url="">; . For us, we want to use the Bitbucket Branch Source Plugin for building branches and pull requests. Right now we are using Multibranch and we have to do build notifications ourselves as well as we have to do additional jobs to support pull request events. Auto-registration would be awesome (mostly what this issue is for), but I first need the Bitbucket Server notifications to trigger Jenkins branch and PR generation. How have others done this? Is there a better plugin than the previously mentioned one for handling these events? Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [bitbucket-branch-source-plugin] (JENKINS-33507) Bitbucket Server webhooks and Bitbucket Cloud build status notifications
Title: Message Title Nenad Miksa commented on JENKINS-33507 Re: Bitbucket Server webhooks and Bitbucket Cloud build status notifications Well, if webhook autoregistering is problematic, build status API implementation would be enough for us at first. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [bitbucket-branch-source-plugin] (JENKINS-33507) Bitbucket Server webhooks and Bitbucket Cloud build status notifications
Title: Message Title Antonio Muñiz updated an issue Jenkins / JENKINS-33507 Bitbucket Server webhooks and Bitbucket Cloud build status notifications Change By: Antonio Muñiz xAuto Auto -register webhooks for Bitbucket Server and build status notifications for Bitbucket Cloud (only PR comments are sent currently). Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [bitbucket-branch-source-plugin] (JENKINS-33507) Bitbucket Server webhooks and Bitbucket Cloud build status notifications
Title: Message Title Antonio Muñiz edited a comment on JENKINS-33507 Re: Bitbucket Server webhooks and Bitbucket Cloud build status notifications bq. Which hook exactly should be used within Bitbucket Server to trigger the listener?TBD. But probably this one https://marketplace.atlassian.com/plugins/com.nerdwin15.stash-stash-webhook-jenkins/support once proved that it work works as announced. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [bitbucket-branch-source-plugin] (JENKINS-33507) Bitbucket Server webhooks and Bitbucket Cloud build status notifications
Title: Message Title Mike Kobit updated an issue Jenkins / JENKINS-33507 Bitbucket Server webhooks and Bitbucket Cloud build status notifications Change By: Mike Kobit Auto xAuto -register webhooks for Bitbucket Server and build status notifications for Bitbucket Cloud (only PR comments are sent currently). Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [bitbucket-branch-source-plugin] (JENKINS-33507) Bitbucket Server webhooks and Bitbucket Cloud build status notifications
Title: Message Title Mike Kobit commented on JENKINS-33507 Re: Bitbucket Server webhooks and Bitbucket Cloud build status notifications The plugin that Antonio linked is the one we use, so it would be awesome if that was the supported one. I have a feeling that Bitbucket Server is not going to have generic hooks anytime soon, as those have been open for multiple years. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [bitbucket-branch-source-plugin] (JENKINS-33507) Bitbucket Server webhooks and Bitbucket Cloud build status notifications
Title: Message Title Konrad Windszus commented on JENKINS-33507 Re: Bitbucket Server webhooks and Bitbucket Cloud build status notifications As far as I understand, Bitbucket Server has no API to configure generic web hooks (in contrast to Bitbucket Cloud). You can just enable an already installed web hook plugin remotely through https://developer.atlassian.com/static/rest/bitbucket-server/4.6.1/bitbucket-rest.html#idp2137840. Is the plan here to also create a dedicated web hook Bitbucket plugin or to leverage an existing one? Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [bitbucket-branch-source-plugin] (JENKINS-33507) Bitbucket Server webhooks and Bitbucket Cloud build status notifications
Title: Message Title Konrad Windszus commented on JENKINS-33507 Re: Bitbucket Server webhooks and Bitbucket Cloud build status notifications The JIRA for the more generic hooks implementation for Bitbucket Server is at https://jira.atlassian.com/browse/BSERV-3247 and https://jira.atlassian.com/browse/BSERV-6944. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [bitbucket-branch-source-plugin] (JENKINS-33507) Bitbucket Server webhooks and Bitbucket Cloud build status notifications
Title: Message Title Antonio Muñiz commented on JENKINS-33507 Re: Bitbucket Server webhooks and Bitbucket Cloud build status notifications Which hook exactly should be used within Bitbucket Server to trigger the listener? TBD. But probably this one https://marketplace.atlassian.com/plugins/com.nerdwin15.stash-stash-webhook-jenkins/support once proved that it work as announced. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [bitbucket-branch-source-plugin] (JENKINS-33507) Bitbucket Server webhooks and Bitbucket Cloud build status notifications
Title: Message Title Konrad Windszus commented on JENKINS-33507 Re: Bitbucket Server webhooks and Bitbucket Cloud build status notifications I don't see a possibility for auto-registration currently. If not just add the listener for the hook event (which does not exist currently, only Bitbucket Cloud hooks are attended). That option is not clear enough to me. Which hook exactly should be used within Bitbucket Cloud to trigger the listener? Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [bitbucket-branch-source-plugin] (JENKINS-33507) Bitbucket Server webhooks and Bitbucket Cloud build status notifications
Title: Message Title Konrad Windszus edited a comment on JENKINS-33507 Re: Bitbucket Server webhooks and Bitbucket Cloud build status notifications I don't see a possibility for auto-registration currently. bq. If not just add the listener for the hook event (which does not exist currently, only Bitbucket Cloud hooks are attended).That option is not clear enough to me. Which hook exactly should be used within Bitbucket Cloud Server to trigger the listener? Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [bitbucket-branch-source-plugin] (JENKINS-33507) Bitbucket Server webhooks and Bitbucket Cloud build status notifications
Title: Message Title Antonio Muñiz commented on JENKINS-33507 Re: Bitbucket Server webhooks and Bitbucket Cloud build status notifications The idea is to investigate if auto-registration is possible. If not just add the listener for the hook event (which does not exist currently, only Bitbucket Cloud hooks are attended). Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [bitbucket-branch-source-plugin] (JENKINS-33507) Bitbucket Server webhooks and Bitbucket Cloud build status notifications
Title: Message Title Konrad Windszus edited a comment on JENKINS-33507 Re: Bitbucket Server webhooks and Bitbucket Cloud build status notifications As far as I understand, Bitbucket Server has no API to configure generic web hooks (in contrast to Bitbucket Cloud). You can just enable an already installed web hook plugin remotely through https://developer.atlassian.com/static/rest/bitbucket-server/4.6.1/bitbucket-rest.html#idp2137840. Is the plan here to also create a dedicated web hook Bitbucket plugin or to leverage an existing one? Maybe https://confluence.atlassian.com/bitbucketserver/post-service-webhook-for-bitbucket-server-776640367.html could be leveraged but it doesn't seem to provide an API to set that up automatically. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [bitbucket-branch-source-plugin] (JENKINS-33507) Bitbucket Server webhooks and Bitbucket Cloud build status notifications
Title: Message Title Ben Middleton commented on JENKINS-33507 Re: Bitbucket Server webhooks and Bitbucket Cloud build status notifications Is there any scope to modify the hook implemention to use https://github.com/Nerdwin15/stash-jenkins-postreceive-webhook - which works with the default Git plugin? Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [bitbucket-branch-source-plugin] (JENKINS-33507) Bitbucket Server webhooks and Bitbucket Cloud build status notifications
Title: Message Title Ben Middleton edited a comment on JENKINS-33507 Re: Bitbucket Server webhooks and Bitbucket Cloud build status notifications Is there any scope to modify the hook implemention implementation to use https://github.com/Nerdwin15/stash-jenkins-postreceive-webhook - which works with the default Git plugin? Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [bitbucket-branch-source-plugin] (JENKINS-33507) Bitbucket Server webhooks and Bitbucket Cloud build status notifications
Title: Message Title Antonio Muñiz commented on JENKINS-33507 Re: Bitbucket Server webhooks and Bitbucket Cloud build status notifications Yes, you are right. Changes need to be made where you pointed and here. And yes, the help tip could be updated. Feel free to send a PR for that if you want. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [bitbucket-branch-source-plugin] (JENKINS-33507) Bitbucket Server webhooks and Bitbucket Cloud build status notifications
Title: Message Title Nicholas Brown commented on JENKINS-33507 Re: Bitbucket Server webhooks and Bitbucket Cloud build status notifications I'm guessing that Bitbucket server auto-register webhook support is not yet implemented, despite the option being presented in the Branch source configuration? https://github.com/jenkinsci/bitbucket-branch-source-plugin/blob/f50ce24f4afc75e6dae00c44ea20b8fa137bd72d/src/main/java/com/cloudbees/jenkins/plugins/bitbucket/hooks/WebhookAutoRegisterListener.java#L187 If I enable this option when configuring Jenkins with my Bitbucket Server details and visit http:// [JENKINS_ROOT_URL]/bitbucket-scmsource-hook/notify I get the below error in my browser. Until this implemented, could the help-autoRegisterHooks.jelly perhaps be updated to point out BitBucket Server is not supported. I think this means that automatic branch re-indexing of branches will also not happen as this based off SCM change notification, and thus, 'Periodically if not otherwise run' Build Trigger will need to configured so that this happens. java.lang.Exception: X-Event-Key HTTP header not found at org.kohsuke.stapler.HttpResponses.error(HttpResponses.java:83) at com.cloudbees.jenkins.plugins.bitbucket.hooks.BitbucketSCMSourcePushHookReceiver.doNotify(BitbucketSCMSourcePushHookReceiver.java:68) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To
[JIRA] [bitbucket-branch-source-plugin] (JENKINS-33507) Bitbucket Server webhooks and Bitbucket Cloud build status notifications
Title: Message Title Antonio Muñiz created an issue Jenkins / JENKINS-33507 Bitbucket Server webhooks and Bitbucket Cloud build status notifications Issue Type: New Feature Assignee: Antonio Muñiz Components: bitbucket-branch-source-plugin Created: 13/Mar/16 11:48 AM Priority: Major Reporter: Antonio Muñiz Auto-register webhooks for Bitbucket Server and build status notifications for Bitbucket Cloud (only PR comments are sent currently). Add Comment