Question

There are mac osx server (slave) and another jenkins server (master). I would like to remotely order building and testing of my ios application on osx server from jenkins server. I would like to use xcode bots on osx server but I don't know how to manage bots from terminal. How to do it ? Is it possible to use bots as a part of bigger continuous integration system, or I have to set up jenkins server on my osx server ?

Was it helpful?

Solution 2

I'm not sure you can manage OSX bots without using the Xcode connected to your Xcode server.

Anyway Xcode server is still very limited and you wont be able to do what you can do with Jenkins with multiple steps (ie if you use Cocoapods or if you want to deploy something at the end of the build)

If you are using Jenkins on a master server I think the best thing to do is to use your Mac server as slave via SSH to allow your Jenkins to build your iOS projects on it.

OTHER TIPS

You can now manage and edit bots from Xcode 9 by logging in to

Xcode Preferences > Accounts > + button

enter image description here

then go to Report Navigator to see your server

enter image description here

If you just want to integrate or see the status, you can actually access it from the browser. /xcode

example: https://XX.XX.XX.XX/xcode

here's a good reference: https://medium.com/xcblog/xcode9-xcode-server-comprehensive-ios-continuous-integration-3613a7973b48

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top