This Plugin is used to run automated selenium tests on LambdaTest Cloud.
Base Configuration
https://github.com/jenkinsci/gradle-jpi-plugin
Installation
via the interface
- Go to your installation's management screen.
- Click Manage Plugins.
- Click the Available tab.
- Find the LambdaTest Automation Plugin and select the checkbox.
- then click either Install without restart or Download now and install after restart.
Building the plugin for testing/development
gradle clean
This command will run the gradle Task :build
gradle build
or
./gradlew build
This command will run the gradle Task :server
gradle server
Build the Jenkins plugin file (will currently end in ".hpi".)
$ gradle jpi
This command will run the gradle JVM with specified httpPort.
gradle server -Djenkins.httpPort=8082
Release Instructions
For new releases
, bump version
field in build.gradle
, then execute the following command
$ gradle release -Prelease.useAutomaticVersion=true
Note : Required Java 8 version
$ export JAVA_HOME=`/usr/libexec/java_home -v 1.8`
Required Gradle version 4.7
$ ./gradlew wrapper --gradle-version 4.7
Manual install
- Open Jenkins in a browser; e.g. http://jenkins_host:8080
- Browse to 'Manage Jenkins' --> 'Manage Plugins’ and select the Advanced tab.
- Click the Browse button in the 'Upload Plugin' section.
- Find the location of the 'lambdatest-automation.hpi' file and click the Open button.
- Click the Download now and install after restart button (this might be different on the newer version).
License
This program is free software and is distributed under an MPL-2.0 License.