We want to run tests to check whether our application integrates properly into the surrounding applications.
Since these tests belong to the application, the code is stored together with the application source code.
But without being able to disable the Bitbucket notification for the bamboo plan performing these tests, we will have situations where a failing test due to issues with an external application might block our development team from performing a pull request.
I have already found two feature requests in the Bamboo Bug Tracker but since these are quite old I was hoping that someone might have found a solution to this issue.
The only solution I came up with is to use a dedicated integration-test branch and keep it aligned with the development branch.
But I have found a hacky solution for the issue:
When using the git binary from within a script task, I can perform a checkout of the repo without creating the link between the build and the bitbucket server.
Not necessary an elegant solution, but it does solve our issue
You can use Repository Type "Git" instead of "Bitbucket Server/Stash" to achieve the same result
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We use Bitbucket and Bamboo as one tenant within a large enterprise. This means we cannot disable the Application Link between both servers.
In addition, tests should be performed during the day at request of the application development team.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How about deleting the Application Link in both servers during the test and then recreate it later?
Since all the build status will not be sent to Bitbucket Server, you will have to perform the test during the off working hour.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.