Stash + Xcode Server?

We're using Xcode Server for our iOS continuous integration. I'm evaluating Stash, and I saw that Stash seems to have a feature to allow a CI server to call back every time there is a successful build on a branch. Stash also seems to have feature to callout and perform a test on the CI Server.

Xcode Server clearly has no built in support for this, but I have two tools at my disposal:

- Xcode Server allows for a script to trigger an integration and test. I might be able to write a script that interfaces with Stash.

- I can execute any script I want after the test or build action finishes.

Given these two things, has anyone tried, or know any details, that might help me integrate Xcode Server with Stash?

1 answer

1 accepted

1 vote
Accepted answer
Timothy Chin Community Champion Apr 13, 2014
Stash also seems to have feature to callout and perform a test on the CI Server

These called hooks in Stash. You can develop your own custom hooks by following this guide (https://developer.atlassian.com/stash/docs/latest/how-tos/repository-hooks.html). You can also listen to events happening in Stash (https://developer.atlassian.com/stash/docs/latest/how-tos/responding-to-application-events.html).

If you want to trigger something in Stash from CI, you can take a look at Stash's REST API.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

770 views 5 10
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you