Work with Jenkins
Work with Jenkins
Jenkins and Leapwork interaction/integration work on the principle of below architecture:
The configuration and execution steps are as follows:
Go to Jenkins instance and click on the Manage Jenkins as shown in the below screenshot and then navigate to Manage Plugins:
After clicking on Manage Plugin, the window will be navigated to the plugin manager where different plugins are available. Click on the advanced category as shown in the screenshot below and then scroll down the page:
After scrolling, the user will find an option by the name upload plugin. Please choose the Leapwork Plugin that was downloaded earlier and provide the file reference till .hpi file inside the target folder in the downloaded plugin installation directory.
Once the file directory is chosen, click on upload and plugin will be uploaded successfully on the Jenkins instance.
Navigate to the home dashboard page of Jenkins.
Click on new item and create a new freestyle project and click on OK.
Now new project configuration will be opened. Navigate to the Build category and click on the Add build step dropdown and you will find the uploaded plugin.
After clicking the Leapwork Integration Plugin, it will ask for the parameters that correspond to the details which are part of Leapwork schedule configuration.
Select the Post built steps, for example receiving the email notification after the schedule is completed.
Click on Save and Apply and Jenkins is successfully integrated with Leapwork.
Now Select the created build and click on the option Build Now and the schedule will be triggered in Leapwork.