Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bitbucket PR will not trigger pipeline #139

Open
patrijua opened this issue Jan 21, 2020 · 4 comments
Open

Bitbucket PR will not trigger pipeline #139

patrijua opened this issue Jan 21, 2020 · 4 comments

Comments

@patrijua
Copy link

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?

@patrijua patrijua changed the title Bitbucker PR will not trigger pipeline Bitbucket PR will not trigger pipeline Jan 21, 2020
@patrijua
Copy link
Author

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!!!

@patrijua
Copy link
Author

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.

@patrijua
Copy link
Author

patrijua commented Jan 23, 2020

Hmmh, noticed this: #46
If I understand correctly, it seems that there's no plans to implement Bitbucket/Gitlab support to this plugin.

@ashwanthkumar
Copy link
Owner

Just a quick follow up -- we now have support for Gitlab added in #149 and available from https://github.com/ashwanthkumar/gocd-build-github-pull-requests/releases/tag/v1.4.0-RC4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants