A step-by-step tutorial for continuous integration with Jenkins for a Red Hat Mobile Native iOS application

Part 2: How to Setup Jenkins to build iOS .ipa and run unit tests.

A robust and agile mobile application development environment requires continuous integration and delivery. It also requires an integrated and automated unit testing process that helps bring applications to market successfully. This two-part series details my work done at Red Hat Open Innovation Labs and as a Mobile Technical Account Manager to capture these mobile innovations in a useful, repeatable way. In part one of this two-part series, I broke down the steps to create and unit test a native iOS application using Red Hat’s Mobile Application Platform. In part two, I’ll show how Jenkins can be used to automate continuous integration and unit testing of that Mobile app.

Continue reading “A step-by-step tutorial for continuous integration with Jenkins for a Red Hat Mobile Native iOS application”


Join Red Hat Developers, a developer program for you to learn, share, and code faster – and get access to Red Hat software for your development.  The developer program and software are both free!

 

A step-by-step tutorial for continuous integration with Jenkins for a Red Hat Mobile Native iOS application

This post was originally published on redhat.com.

Part 1: Adding Unit Tests to Native iOS Red Hat Mobile Application Platform Application

A robust and agile mobile application development environment requires continuous integration and delivery. It also requires an integrated and automated unit testing process that helps bring applications to market successfully. This two-part series details my work done at the Red Hat Open Innovation Labs and as a Mobile Technical Account Manager to capture these mobile innovations in a useful, repeatable way. In part one of this two-part series, I break down the steps to create and unit test a native iOS application using Red Hat Mobile Application Platform. In part two, I’ll show how Jenkins can be used to automate continuous integration and unit testing of that Mobile app. If you would like to try out our Red Hat Mobile Application Platform product please visit our Red Hat Mobile Application Platform site.

Continue reading “A step-by-step tutorial for continuous integration with Jenkins for a Red Hat Mobile Native iOS application”


Join Red Hat Developers, a developer program for you to learn, share, and code faster – and get access to Red Hat software for your development.  The developer program and software are both free!

 

A step-by-step tutorial for continuous integration with Jenkins on a Red Hat Mobile Native Android application: Part 2

In part one of our series, we established the process around creating an Android application using Red Hat’s Mobile Application Platform and adding unit tests. Now, we’ll walk through how to use Jenkins for continuous integration on this app.

Pre-requisites for this tutorial

  1. RHMAP Instances
  2. Jenkins installed on Fedora
  3. Android Studio setup on a development machine.

The following are the topics covered in today’s post:

  1. Setup Jenkins to run Android Unit Test
  2. Install Jenkins plugins
  3. Install Android SDK and Tools
  4. Setup SSH on RHMAP and Jenkins
  5. Create an Android Emulator from command line
  6. Create a Jenkins project to run Android Unit Tests

Setup Jenkins to run Android Unit Test

This tutorial assumes Jenkins and git tools are installed on a Fedora machine.

Install Jenkins plugins

We need to install all the plugins needed to run Android build. From the Jenkins portal go to Manage Jenkins → Manage plugins→ Available and select the following

  1. Android Emulator Plugin
  2. Git plugin
  3. Gradle Plugin

Click Install without restart.

Continue reading “A step-by-step tutorial for continuous integration with Jenkins on a Red Hat Mobile Native Android application: Part 2”


Join Red Hat Developers, a developer program for you to learn, share, and code faster – and get access to Red Hat software for your development.  The developer program and software are both free!

 

A step-by-step tutorial for continuous integration with Jenkins for a Red Hat Mobile Native Android application: Part 1

The dramatic influx of mobile application development has driven many new innovations that make it easier than ever to create compelling, flexible, and secure  applications. This two-part series details my work done at Red Hat’s Open Innovation Labs to capture these mobile innovations in a useful, repeatable way. In part one of this two-part series, I break down the steps to create and unit test a native android application using Red Hat’s Mobile Application Platform. In part two, I show how Jenkins can be used to automate  continuous integration and unit testing of that Mobile app.

This post was originally published on the Red Hat Services blog.

PART 1

Part 1 of this series covers the creation of a native Gradle Android application, shows how to add unit and instrumentation tests specific to Android.

Pre-requisites for this tutorial:

  1. Red Hat Mobile Application Platform Instance
  2. Android Studio set up on a development machine.

The following are the topics covered in today’s post and the video below:

  1. Creating an Android Application using RHMAP
  2. Creating an Android Unit test and Instrumented test
  3. Adding an Android Unit Test
  4. Adding an Android Instrumented Unit Test

Continue reading “A step-by-step tutorial for continuous integration with Jenkins for a Red Hat Mobile Native Android application: Part 1”


Join Red Hat Developers, a developer program for you to learn, share, and code faster – and get access to Red Hat software for your development.  The developer program and software are both free!