Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I run a script when a PR is raised on Bitbucket data centre

Paul
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 31, 2019

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 !

 

1 answer

0 votes
Julius Davies [bit-booster.com]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 1, 2019

 

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)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events