【发布时间】:2016-06-21 11:00:08
【问题描述】:
我已在 Jenkins 中正确配置了 GitHub Pull Request Builder,并且按预期工作。我添加了一个 shell 来执行 swiftlint 作为通过标准,并且按预期工作。然而,我们发现了一个问题,代码通过了 linting,但在使用 xcodebuild 命令行作为第二步指令时确实卡住了。因此,我们在构建的运行时中添加了 linting,并在检测到 PR 时尝试运行 xcodebuild -workspace MYPROJECT.xcworkspace -scheme MYPROJECT -destination 'platform=iOS Simulator,name=iPhone 5,OS=8.1' clean build。它只是坐在那里旋转,除非我在工作中放弃时间。当我在本地终端中尝试此操作时,它可以工作,如果我将它放在不包含 GitHub Pull Request Builder
【问题讨论】:
标签: github jenkins continuous-integration xcode7 pull-request