This plugin integrates Jenkins users with Selenium Testing and Screenshot Testing on CrossBrowserTesting.com. CrossBrowserTesting.com provides cross browser testing of websites, webpages, and web applications on Windows, Macs, and real iPhones, iPads, and Android Phones and Tablets.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.metadata/.plugins/org.eclipse.core.runtime/.settings
.settings
examples
gradle/wrapper
src/main
.classpath
.gitignore
Jenkinsfile
README.md
build.gradle
gradle.properties
gradlew
gradlew.bat
settings.gradle

README.md

CrossBrowserTesting.com Jenkins Plugin

This plugin integrates Jenkins users with Selenium Testing and Screenshot Testing on CrossBrowserTesting.com. CrossBrowserTesting.com provides cross browser testing of websites, webpages, and web applications on Windows, Macs, and real iPhones, iPads, and Android Phones and Tablets.

Wiki: https://wiki.jenkins-ci.org/display/JENKINS/CrossBrowserTesting+Plugin

Installation

via the interface
  1. Go to your installation's management screen.
  2. Click Manage Plugins.
  3. Click the Available tab.
  4. Find the CrossBrowserTesting.com Plugin and select the checkbox.
  5. then click either Install without restart or Download now and install after restart.
by hand (not recommended)
  1. Download CrossBrowserTesting.hpi.
  2. Save the downloaded .hpi file into your $JENKINS_HOME/plugins directory.
  3. Restart Jenkins.

Building the plugin for testing/development

Requirements:
gradlew server
To specify the version of jenkins:
gradlew server -Pjenkins=${jenkins_version}
To make it run a little faster, turn on caching:
gradlew server -Pjenkins=${jenkins_version} -Dstapler.jelly.noCache=false
To build test plugin

After you have made all changes, update the version number in build.gradle (line 10). Run ./gradlew build, then ./gradlew compileJava. This will create a 'build' folder in the root the project. Inside that folder is a 'libs' folder that contains a .hpi file. Remove any existing version of the CBT Plugin from your Jenkins server, then place that .hpi file into your Jenkins plugin folder, restart Jenkins, and test.

To release:

Make sure all code has been committed to your local git repo

gradlew publish release

Credentials for the publish should be in a file ~/.jenkins-ci.org (note that this goes in your home directory)