Code Monkey home page Code Monkey logo

advancedjenkins's Introduction

Advanced Jenkins for iOS and Mac

This repo accompanies my blog post on the subject and comprises:

  • A project based on Apple's sample code iPhoneUnitTests.
  • A directory jobs containing sample Jenkins jobs configs that can be copied to your Jenkins jobs directory.
  • A directory blogpost containing the blog post and associated images.

The configs are comprehensive, displaying errors, static analyser results, unit tests and code coverage like this:

Sample Jenkins output

Enjoy!

advancedjenkins's People

Contributors

richardbuckle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

advancedjenkins's Issues

Timeout error?

Hi,

First off, thanks so much for putting this together. I think I'm really close to getting this to run. However, I'm having one last issue. Both the instance of Jenkins and the Terminal on the machine Jenkins is installed on are throwing this error:

[DEBUG] Session could not be started: Error Domain=DTiPhoneSimulatorErrorDomain Code=2 "Simulator session timed out." UserInfo=0x7fd323c2a4a0 {NSLocalizedDescription=Simulator session timed out.}

I've found that I can fix this for the Jenkins instance by moving my launch plist from Library/LaunchDaemons to Library/LaunchAgents, however since running the same command from Terminal is throwing the same error, I think there is some other underlying problem.

This is the command I'm running to launch it:

No matching processes were found
xcodebuild -scheme HungryFanTests -sdk iphonesimulator -configuration Debug clean build TEST_AFTER_BUILD=YES WANT_IOS_SIM=YES ONLY_ACTIVE_ARCH=NO VALID_ARCHS=i386 ARCHS=i386

On a possibly unrelated note, my own machine fails to launch the tests as well, throwing a similar but different error.

No matching processes were found
[DEBUG] Session could not be started: Error Domain=DTiPhoneSimulatorErrorDomain Code=1 "Unknown error." UserInfo=0x7ffaabc03020 {NSLocalizedDescription=Unknown error., DTiPhoneSimulatorUnderlyingErrorCodeKey=-1}

Did you encounter this issue in creating this post?

What about using xctool instead of xcodebuild ?

Did you consider using xctool instead of xcodebuild + ios-sim ?
I'm mainly wondering if you found show stoppers in using xctool or its simply that at the time you created this, xctool was not available ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.