Add pre & post build actions to Bots in Xcode Server
| Originator: | Greiner.Mike | ||
| Number: | rdar://17050678 | Date Originated: | 28-May-2014 09:44 AM |
| Status: | Duplicate | Resolved: | 10.10 |
| Product: | OS X Server | Product Version: | 2.256 (261.3) |
| Classification: | Enhancement | Reproducible: | Always |
This is a duplicate of rdar://14221477 Summary: When creating a new Bot, I should be able to add pre/post build actions and run my own scripts. The kinds of scripts I'm talking about are loading CocoaPods (which changes the contents of a workspace, so as a pre-build action is fragile), generating test output in a machine-friendly format, and uploading the created .ipa to a distribution service like HockeyApp or TestFlight to name just a few. The current workflow my team uses to create apps relies heavily on Jenkins CI and we'd like to switch to Xcode Server in the future. Steps to Reproduce: Try to do something before/after a build without pre/post build actions set in the scheme. You can't. Expected Results: I should be able to add build steps to a Bot, and decide what order they occur in. I should not have to use schemes to achieve this. Actual Results: Scripts need to be added to pre/post build actions in the scheme. Regression: Notes: Schemes are great, but they really aren't made for the kind of things that need to be done when running CI and CD (Continuous Deployment). I’m using scheme actions as a workaround, but the big limitation they have is that if something fails in that pre-action, it won’t fail the bot run.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!