Skip to content

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.

Notifications You must be signed in to change notification settings

jenkinsci/crossbrowsertesting-plugin

Repository files navigation

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

  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 and pushed up to GitHub.

gradlew publish release

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

If you get a 403 error on this step, it may be because the version in build.gradle is wrong or hasn't been updated. You can check by going to our plugin releases folder in Jenkins. If the folder for the version you are trying to push already exists, then you'll get a 403 on the publish.

About

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.

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published