-
Bug
-
Resolution: Unresolved
-
Blocker
-
jenkins 2.19.2, xcode 8
I'm trying to run tests from a project that uses cocoapods.
This means I have to specify the workspace name. When I do so as well as giving the scheme name the xcode plugin will just hang at this point forever (I actually let it run for 30min before killing it several times)
Going to invoke xcodebuild:, scheme: ttt, sdk: DEFAULT, workspace: ttt, configuration: Debug, clean: NO, archive:NO, symRoot: DEFAULT, configurationBuildDir: DEFAULT, codeSignIdentity: DEFAULT
[lbp-iOS] $ /usr/bin/xcodebuild -scheme ttt -workspace ttt.xcworkspace -configuration Debug build test -destination "platform=iOS Simulator,name=iPhone 6,OS=10.1"
It seems to me that there might be something wrong with the plugin that causes it to hang in this specific case.
I've also created a stackoverflow for this http://stackoverflow.com/questions/40536087/unit-test-ios-with-jenkins.
mhermans I've seen this with Xcode 8.1 and using the 'Jenkinsfile' approach as well; but not in the 'Freestyle' item type. This might not be completely related to the xcode-plugin.
To be clear, what I see is that the Jenkinsfile is running as expected but once I issue sh "xcodebuild -scheme <scheme> clean archive". It just hangs there after printing out the aforementioned xcode invocation. I've left it there for 6 hours with no (visible) progress made.