Snyk How to set reviewers on automatic pull requests (Bitbucket Cloud) - bitbucket

I'm using Snyk Bitbucket Cloud integration. Is there a way to add a group of reviewers on automatic pull requests (Bitbucket Cloud). At this moment, the pull requests are created without reviewers. Thanks!!!

Related

Automatic pull request merge in Gitea upon successful Jenkins build

I want to configure Gitea and Jenkins, so Gitea would automatically merge pull requests upon successful build in Jenkins.
What's the least effort way to approach this?
You can use the Gitea API to merge a pull request, the API docs are here.
As the last step in Jenkins, call the Gitea API via curl to merge the PR.
For me the best solution was to use the Gitea Jenkins Plugin despite it is poor documented.
Some useful functions:
sync of structures/organazations/repositories
push webhooks
PRs from origin
PRs from forks
Here you can find more information:
Initial Setup
Configuring webhooks in Jenkins
Configuration hints
Configuration example as youtube video
Configuration of webhooks
It should be generally available with this pull request

Docker Cloud Automated Build - Automatically Publish an Image for a Pull Request

I am exploring the automated build features of the "New Docker Hub".
I see that it is possible to trigger automated tests for each new pull request that is submitted against a specific branch.
Is it possible to push/publish the images created from a specific pull request?
If this was possible, an open source project could invite folks to test pull requests without needing to re-build the code for a pull request.

Jira and GitLab webhook! How to integrate?

How can i integrate Jira and Gitlab and status will change on request!
Git commit -> ED-1511 #AutomationState Running
Jira ticket (ED-1511) - >> will change AutomationState on Running
I don't think that you can do this with the out of the box functionality of Jira and Gitlab.
From the structure of your commit message it looks like you are trying to use the smart commits functionality in Jira. Smart commits only allow you to perform three actions:
Log time
Comment on an issue
Transition an issue to a new workflow state
This is not something you can do with smart commits. In addition the current Jira Gitlab integration doesn't seem to support smart commits.
If you wanted to build this functionality you could probably build something yourself that:
Listens for Gitlab webhooks
On receipt of a Gitlab webhook calls the Jira REST api to modify the issue
If I understand your question correctly, the GitLab integration with JIRA described here should do what you want. I only recently set this up with our JIRA cloud instance and GitLab running in an AWS instance, and I haven't tried to integrate transitioning JIRA tickets from Git commit messages. However, the documentation seems to indicate that it is possible.

Integration of BitBucket and SonarQube on Pull Requests

What is the best way to trigger a SonarQube scan/analysis on a Pull Request, upon Pull Request creation in BitBucket?
Tech Stack:
BitBucket server v4.14.5 hosted on prem
SonarQube server 6.6 hosted on prem
Jenkins has been used to run the scans previously; would be easiest to continue down that path.
Mibex plugin not an option as it creates a new project and that workflow isn't acceptable to my architect.
Ideally, workflow would be:
Pull Request Workflow:
Developer creates pull request - pull request triggers SonarQube scan - scan posts results back to BitBucket.
Merge to Master Workflow:
On pull request merge to 'master' branch, another SonarQube scan is run against "master" to maintain baseline quality of code for 'master'

Continuous Deployment Bluemix with existing Bitbucket repo

I'm experiencing an issue with Bluemix DevOps continuous integration system when it comes to linking the project to an existing private Bitbucket repository.
I tried the steps presented in this link and although I'm able to see the content of the Bitbucket folder, the devOps is still stuck to the initial commit and it does not take the appropriate files during the building stage.
Can anyone provide any tips or suggestions?
Many thanks
Those instructions, although it mentions "private", are only valid for a Public repository, as you have noted without a similar style to the GitHub integration we don't have a way to setup a shared token you would need to be able to authenticate. That said today, you cannot really use a pull method to pull changes from BitBucket to DevOps Services, you will need to use a push method from somewhere that you can authenticate to your private repo and the DevOps Services git repo to keep them in sync.
https://developer.ibm.com/answers/questions/197619/continuous-delivery-with-bitbucket-and-jazzhub.html

Resources