/iosbuilder-plugin

iOS builder plugin for Jenkins

Primary LanguageJava

iosbuilder-plugin

It's Jenkins CI extension which simplifies build step setup for iOS projects. iOS builder allows you to install/update pods in you project (you just put Podfile to the SCM, right?!), specify xcodebuild parameters and (it's, actually, the main advantage of the plugin) to easily attach your private key and mobileprovision profile to the build configuration so they would be used during the build step without any dependence on your project config. It also makes an IPA archive of your app if you wish so all you'd need to do is to publish it wherever you want. This plugin is in beta state now so please be patient.

Where to get it

For now you can download an .hpi file which I've built here. The plugin would be available in Jenkins' repository soon so you'd be able to use Plugin Manager to install/upgrade it.

How to build it

That plugin could be built using maven. The simplest way to get maven on your machine is to use Homebrew:

$ brew install maven

Once you have maven installed – use these lines in your terminal to grab the sources and build the plugin.

$ git clone git://github.com/0xc010d/iosbuilder-plugin.git
$ cd iosbuilder-plugin
$ mvn package

Once it's built – you'll see iOSBuilder.hpi file in target subfolder which should be used to install that plugin in Jenkins.

How to install it

Go to http://<jenkins_root_url>/pluginManager/advanced (same as Manage Jenkins -> Manage Plugins -> Advanced), upload iOSBuilder.hpi file in "Upload plugin" section and restart Jenkins.

Now go to your project, add iOS builder as a build step, configure it and run. Isn't it cool?

Yes, it's cool!