Using script to fire Xcode bot
问题 Is there a way to manually fire existing Xcode bots using shell scripts? I have a manual bot and I'd like to fire it based on certain custom logic criteria. 回答1: Yes. You'll need to do a couple of things: Firstly, I'm going to call your Xcode Server's IP address XCS_IP, usually localhost if you're on the machine where Xcode Server's running. Find out the ID of the bot: in Terminal, run curl -k "https://XCS_IP:20343/api/bots" . Copy the output to some editor and find the value for key _id for