Forums

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

bitbucket ref-specs for teamcity

Raj Kumar
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!
April 2, 2018 edited

Hi,

I have been trying to create an automated trigger for all bitbucket pull requests created in teamcity.

Teamcity keeps polling bitbucket for every 60 seconds.

I have extensively used github in past where I need to only specify refs/pull/*/head in my branch specification and all pull requests will automatically start building.

Now the above doesn't seem to be the case with bitbucket cloud. Existing VCS setting doesn't seem to pick up any pull requests with the following ref specs

 

+:refs/pull-requests/*
+:ref/pull-requests/*/from
+:ref/pull-requests/*/merge
+:ref/pull/*/from
+:ref/pull/*/merge
+:ref/pull/*/head
+:refs/pull-requests/*/from
+:refs/pull-requests/*/merge
+:refs/pull/*/from
+:refs/pull/*/merge
+:refs/pull/*/head

 

I am not sure if I am doing anything wrong in here. 

Note: Teacmity is able to identify and execute my entire code after commit is successful. I am trying to check if my build is successful even before commiting. Hence I have requirement to run on pull requests.

 

Regards

Raj

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian community, job interviews, interview tips, career advice, interview preparation, job search, interview experiences, hiring process, atlassian careers, community discussion, interview best practices

Interview Tips & Pet Peeves ✍️

Join the discussion on interview best practices and common pitfalls. Share your experiences and learn from others in the Atlassian Community.

Share you experiences!
AUG Leaders

Atlassian Community Events