This plugin integrates SOASTA CloudTest and SOASTA TouchTest features into Jenkins.

{jenkins-plugin-info:pluginId=cloudtest|jiraComponent=cloudtest-plugin}

The CloudTest Jenkins plugin provides the ability to

Prerequisites

The CloudTest plug-in requires Jenkins 1.580.1 or later.

Global Configuration Options

Before using the plug-in, you will need to provide the CloudTest server information, in the "Manage Jenkins" -> "Configure System" page. This includes the CloudTest URL and a set of credentials. We recommend creating a dedicated CloudTest account for Jenkins to use.

The CloudTest password is encrypted before saving it to disk. It is also masked (e.g. "****") in all output generated during builds.

Build Steps

The plug-in adds the following new build steps:

Make App TouchTestable

Adds the TouchTest Driver library to your app's source code. Typically this build step is inserted right before the build step that compiles the app's code (e.g. before the Xcode build step for iOS, or before the "Invoke Ant" build step for Android).

Install iOS App on Device

Silently installs an IPA file on one or more attached iOS devices. This ensures that your tests run against the latest version of your app.

Note: there is no Android version of this build step, because the Android SDK already provides this functionality ("adb install").

Play Composition

Executes a CloudTest composition, and saves the output in the build's test results. You can include this build step multiple times if there are multiple compositions in your test suite.

Start Grid

Starts the grid with the specified CloudTest server, and name, and ensures that the object reaches a ready status. In the event that the grid fails to reach a ready status, it will be torn down and the build step will fail.

Stop Grid

Terminates the grid, and ensures that the grid reaches a terminated status. In the event that the grid fails to reach a terminated status, the build step will fail.

Start RSDB

Starts the RSDB with the specified CloudTest server, and name, and ensures that the RSDB reaches a ready status. In the event that the RSDB fails to reach a ready status, it will be torn down and the build step will fail.

Stop RSDB

Terminates the RSDB, and ensures that the RSDB reaches a terminated status. In the event that the grid fails to reach a terminated status, the build step will fail.

Test Environments

Note that for test environments you will need to set up a CloudTest Server to point to CloudTest Manager https://cloudtestmanager.soasta.com/concerto/.

Start Test Environment

Starts the test environment with the specified CloudTest server (Note this MUST be CTM), and name, and ensures that the object reaches a ready status. In the event that the test environment fails to reach a ready status, it will be torn down and the build step will fail.

Stop Test Environment

Terminates the test environment, and ensures that the test environment reaches a terminated status. In the event that the test environment fails to reach a terminated status, the build step will fail.

Wake Up iOS Device

Wakes up one or more attached iOS devices, and opens Mobile Safari to the most recently-viewed page (e.g. TouchTest Agent). This can optionally be used at the beginning of a build, to "prep" the devices for testing.

Note: There is no Android version of this build step, because the Android SDK already provides this functionality.

Reboot iOS Device

Reboots one or more attached iOS devices. This can optionally be used at the end of a build, to "reset" for the next one.

Note: There is no Android version of this build step, because the Android SDK already provides this functionality ("adb reboot").

Changelog

Version 2.25 (Released June 13, 2016)

Version 2.24 (Released June 2, 2016)

Version 2.23 (Released May 25, 2016)

Version 2.22 (Released February 26, 2016)

Version 2.21 (Released September 21, 2015)

Version 2.20 (released July 20, 2014)

Version 2.19 (released July 18, 2014)

Version 2.18 (released July 9, 2014)

Version 2.17 (released July 7, 2014)

Version 2.16 (released June 11, 2014)

Version 2.15 (released May 13, 2014)

Version 2.14 (released May 5, 2014)

Version 2.13 (released April 7, 2014)

NOTE: The "jump" in version numbers from 2.8 to 2.13 is due to technical issues encountered while attempting to release the new version of the plug-in.  There were no releases between 2.8 and 2.13.

Version 2.8 (released February 26, 2014)

Version 2.7 (released December 19, 2013)

Version 2.6 (released November 22, 2013)

Version 2.5 (released November 08, 2013)

Version 2.4 (released June 25, 2013)

Version 2.3 (released June 4, 2013)

Version 2.2 (released May 14, 2013)

Version 2.1 (released April 8, 2013)

Version 2.0 (released March 15, 2013)