Bitbucket PR will not trigger pipeline
Hi! I would need some help on how to use Stash Pull Requests Builder (https://github.com/ashwanthkumar/gocd-build-github-pull-requests) when pipelines are defined in yaml. Currently, I have a pipeline defined:
pipelines:
bitbuketti: # name of pipeline
group: Bitbucket
materials:
myPluggableGit: # name of material
plugin_configuration:
id: stash.pr
version: 1.4.0-RC2
options:
url: https://[USERNAME]:[PASSWORD]@bitbucket.org/jpatrikainen/buketti.git
destination: destinationDir
Pipeline was triggered when GoCD took this yml into use, it succesfully used material from master, but it will not trigger to any pull request I make in Bitbucket from some feature branches to master branch. Why it does not trigger? Should that "Default Branch" be defined in yml? If so, how?
Tried this also by creating pipeline manually in GoCD as instructed in in plugin documentation, it did not help. Still the pipeline will not trigger. Plugin also does now write any logs to from where I could debug. Also noticed that when I trigger pipeline manually, it does not use latest commit from master, instead it uses the first commit on master branch. @ashwanthkumar please could you have a look at this, would be important for us to get this to work asap. Thanks!!!
Experimented also github-pr-poller-1.4.0-RC2.jar with Github, it does work OK, but we need to get BitBucket integration to work.
Hmmh, noticed this: https://github.com/ashwanthkumar/gocd-build-github-pull-requests/issues/46 If I understand correctly, it seems that there's no plans to implement Bitbucket/Gitlab support to this plugin.
Just a quick follow up -- we now have support for Gitlab added in https://github.com/ashwanthkumar/gocd-build-github-pull-requests/pull/149 and available from https://github.com/ashwanthkumar/gocd-build-github-pull-requests/releases/tag/v1.4.0-RC4.