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?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.