Is there a way to notify BitBucket about the build "In Progress" status manually?
markvarga91 opened this issue · 1 comments
Describe your use-case which is not covered by existing documentation.
Is there a way to send the build "In Progress" status to BitBucket manually during a pull request build?
The plugin apparently notifies BitBucket about the build progress at two points:
- "In progress" status sent after the checkout scm step.
- Final builds results reported at the end.
In my use case, I need to use the plugin without the "checkout scm" step, and handle the git checkout and merge operations manually. The problem is that when I disable the automatic checkout procedure, I am also missing out on the "In progress" notification. I still get the final build status displayed on BitBucket, but it would be good to have the "In progress" as well.
Is there a way to trigger this notification manually? Perhaps a simple to use function call that works in a Groovy Sandbox? If there is a way, then it would be nice to document this in the user guide.
Thank you.
Mark
Reference any relevant documentation, other materials or issues/pull requests that can be used for inspiration.
No response
Also a related it would be helpful to have an option, to notify bitbucket, that the build has started before checkout scm step.
During high loads, if PR is "supposed" to have multiple successful build from different jobs (code test, security scans in a different job), and some of them pass before others are even able to start, the result could be: merged PR with failing builds.