GithubHelp home page GithubHelp logo

snieguu / testdroid-run-in-cloud-plugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jenkinsci/testdroid-run-in-cloud-plugin

0.0 1.0 0.0 15.96 MB

Plugin for Testdroid mobile device testing cloud

Home Page: http://testdroid.com

License: Apache License 2.0

Java 97.57% HTML 2.43%

testdroid-run-in-cloud-plugin's Introduction

Java profiler License

Bitbar Run-in-Cloud Plugin

About plugin

Bitbar Run-in-Cloud (RiC) is a Jenkins plugin to launch your Bitbar test runs directly from a Jenkins job.

Build plugin

To build the RiC plugin simply run Maven at the root of the repo.

Install

Get the latest version of the Bitbar Run-in-Cloud plugin from Jenkins' Plugin Manager. Search for 'Bitbar' and select the plugin for install. All updates are visible in this same place.

Using the Run-in-Cloud Plugin

Once you have Jenkins properly installed, download the Bitbar Run-in-Cloud Plugin from under ./bin-directory and open your Jenkins main page. Then navigate from Jenkins main menu to Manage Jenkins -> Manage plugins to start configuring your plugins.

Click Advanced -> Upload Plugin to install recently downloaded Bitbar Run-in-Cloud Plugin. After you've installed this plugin, restart Jenkins and get back to start the configuration of this plugin. The plugin adds a new build step that can be used in any Jenkins job to launch builds in Bitbar Cloud and/or Bitbar Private Cloud.

Click Manage Jenkins -> Configure System (on top of that list) and you'll find a Bitbar Cloud section where you can enter your login credentials (email and password) and then press Authorize button to validate your account details and access.

Run-in-Cloud - Build Step(s) for Android and iOS

To get started, you can open existing Jenkins job or create a new one. From the Job Configuration -> Build select Run tests in Bitbar Cloud.

Now you can select your target project (must exist in Bitbar Cloud) and enter the name for your test run. The next ones are the Application and Test where you specify the files that will be uploaded in Bitbar Cloud. If you need to further customize project settings click the "Edit project on Bitbar Cloud website" button and it will open Bitbar Cloud webpage with access to configure your project details.

API CALL

Jenkins is polling Bitbar Cloud for the results. Test results are fetched from Bitbar Cloud to Jenkins workspace after all your tests are finished.

HOOK URL

Bitbar Cloud sends post message to the specified URL when test run is finished. Bitbar Run-in-Cloud Plugin listens these messages in default location and then downloads results when post message arrives. User can change the URL in the following section:

POST message body: testRunId=%s&projectId=%s&status=FINISHED

Note! This requires your HOOK URL is reachable from Internet e.g. Jenkins instance can be reached from Bitbar Cloud.

In addition to hook URL, you can set up specific folder where results and data will be stored, timeout for finalization message (timeout for results) as well as if you want to include screenshots and other graphical data from your test runs.

Release

  1. Make sure git origin points to [email protected]:jenkinsci/testdroid-run-in-cloud-plugin.git
  2. Maven settings.xml should contains
    <servers>
        <server>
            <id>maven.jenkins-ci.org</id>
            <username>bitbar</username>
            <password>*********</password>
        </server>
    </servers>
  1. To release Perform mvn release:prepare release:perform

testdroid-run-in-cloud-plugin's People

Contributors

aknackiron avatar andrewhaighcell avatar carltonwhitehead avatar daniel-beck-bot avatar hkivela avatar lastverb avatar piotr-kostecki avatar snieguu avatar spedepekka avatar szprutamich avatar walther avatar

Watchers

 avatar

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.