-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for GHunit #7
Comments
I just added a pre 0.0.9 release, where i've implemented your request. You'll find it here, in Downloads section. Could you try this release, to check if everything for GHUnit is working as expected? I got no projects using GHUnit, so another option would be, that you send me a sample project with GHUnit. |
I have a GHUnit project and have tried the build. Here is my configuration: The problem is that no SDK is specified on the command line so it builds for the native target. I don't know if the Platform popup is not getting recognized or not, but I wanted to run the unit tests in the simulator. |
Hi, just try setting platform to iOS, the plugin will choose iOS Simulator as platform if you checked Unit Test. Btw.: I currently working hard on a new release fixing a LOT of bugs and a LOT of new features (Xcode 4 support (workspaces and schemes) ...), but there're so many changes to the old one that i'd to start from scrach again. It'll take a bit of time, before i'm able to release. |
If you are talking about he Platform popup menu in your plugin I did have it set to "iOS Simulator" I'm using the 0.0.9 version of your code. I'm excited to hear you are working on a new version with better Xcode 4 support. I'm really getting into this CI stuff. :) It will be nice to have automated testing set up. Keep up the good work!! |
Try selecting "iOS" in the platform popup menu, the plugin chooses the right platform for you (don't forget to set your target to "Unit Test") |
Now I'm getting this: SICCI for Xcode: build environment check started Yet I can build manually with Xcode using the version checked out in Jenkin's workspace directory. |
Check your Jenkins's global settings. To build a iOS project, Xcode needs access to your code signing identity. The plugin tries to unlock your login.keychain (where it expects to find your identity (certificate and private key)), so you've to input your username and keychain password. More information about this, could be found in the help menu on Jenkins' global configuration page (SICCI Keychain Credentials). |
Works great!! Thanks I never would have thought to look there. |
The problem is that the way Jenkins is installed on OS X doesn't have a normal user account. There is no valid user shell, and there is no login.keychain. You cannot log in as this user. In fact, by default, Jenkins is set up to start under the daemon userid, even though there is a minimal /Users/Shared/Jenkins/Home directory. I can extract our code signing keys into a .mobileprovision file that I can point you at, but I don't have a login.keychain to give you. |
Can you add options for GHUnit? There following 2 environment variables need to be set:
GHUnit will automatically output the JUnit XML which can be parsed by the JUnit publisher.
The text was updated successfully, but these errors were encountered: