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
- Go to your installation's management screen.
- Click Manage Plugins.
- Click the Available tab.
- Find the CrossBrowserTesting.com Plugin and select the checkbox.
- then click either Install without restart or Download now and install after restart.
by hand (not recommended)
- Download CrossBrowserTesting.hpi.
- Save the downloaded .hpi file into your
$JENKINS_HOME/plugins
directory. - Restart Jenkins.
- JDK ≥ 8
gradlew server
gradlew server -Pjenkins=${jenkins_version}
gradlew server -Pjenkins=${jenkins_version} -Dstapler.jelly.noCache=false
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.
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.