Custom Trigger Scripts for Bot (Xcode 5 CI)

后端 未结 2 550
灰色年华
灰色年华 2020-12-31 00:14

I am working on setting up CI for my iOS application and I am facing some issues.

  • Where is a good place to find documents on Bot? I have seen the Xcode help bu
2条回答
  •  甜味超标
    2020-12-31 01:05

    In the bot's scheme, create a post build script that parses the test results.

    The test results will be located here:

    /Library/Server/Xcode/Data/BotRuns/Latest/output/xcodebuild_result.bundle/Info.plist
    

    Once you verify that the tests pass in that plist, you can merge into master.

    Then create a bot that only integrates when someone pushes to master. I believe editing the bot's schedule has an option for polling a repo for changes. Make sure the bot is created by an Xcode project that is currently on master.

    The first bot would need to be created when Xcode is on the test branch you would create.

提交回复
热议问题