ElasTest provides a Jenkins plugin for you to use the platform in your CI environment. Thanks to this you can make use of some features provided by ElasTest, such as log analysis or the use of on-demand browsers. There are two operating modes:
- Use the Jenkins instance of ElasTest: ElasTest provides an instance of Jenkins to be used. You don't need to install the ElasTest Jenkins plugin, it's already incorporated.
- Use your own Jenkins: Before you can use ElasTest as Jenkins plugin you need to install the plugin and complete its onfiguration. After this you will be ready to use ElasTest in a Free Style Job or in a Pipeline Job.
Currently ElasTest Plugin is in beta so to install it is necessary to do it from the experimental repository of Jenkins.
To install the ElasTest Plugin you should follow this steps:
- Go to your Jenkins installation and navigate through Manage Jenkins / Manage Plugins / Advanced.
- In the Update site section set the value
https://updates.jenkins.io/update-center.jsonin the URL field
- Click on the Submit button and then on Check now
- Navigate through Manage Jenkins / Manage Plugins.
- The next step is to open the Available tab and search elastest. The ElasTest plugin will appear and you will check the box and click the Install plugin button.
- Once installed, you can reset the update repository.
The plugin configuration is very simple and you only have to fill in the following fields:
- ElasTest URL: complete URL of ElasTest (including protocol and port)
- Username: ElasTest username (configured on ElasTest launch)
- Password: ElasTest password (configured on ElasTest launch)
Before you execute your first Job integrated with ElasTest, you can check if the connection between Jenkins and ElasTest is successfully established.