I need to run a script when a PR is raised on a repo. I think the best way to do this is why pipelines, but I'm using data centre and can't seem to see this option, I have two questions,
1. is pipelines available on bitbucket data centre 5.15
2. is pipelines the best way to do this or is there another way?
Thanks !
I think pipelines is a Bitbucket Cloud offering. For Bitbucket Server / Data Center you'll need to integrate with Bamboo or Jenkins or Teamcity etc...
What kind of script are you thinking of running? If it's a build script, then definitely I would recommend trying to integrate with a CI server.
If it's a different kind of script, then the paid Scriptrunner For Bitbucket plugin might be able to help you. They let admins tie actions into Bitbucket events (e.g., here's the Pull Request events: https://docs.atlassian.com/bitbucket-server/javadoc/6.5.1/api/reference/com/atlassian/bitbucket/event/pull/PullRequestEvent.html)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.