Last updated: Oct 30, 2019 15:08
You can use Perfecto Connect as part of the CI process by integrating it with a Jenkins CI job on Windows or Linux.
To integrate with Jenkins on Windows
To integrate Perfecto Connect with Jenkins on Windows:
- Create a new Jenkins Job.

- Add the Git repository URL. We use this repository.

- Download and extract the Perfecto Connect client. The perfecto connect binary should reside in a fixed folder, such as
C:\Perfecto\
, only the Windows Jenkins instance.
Download URL: http://downloads.connect.perfectomobile.com/clients/Perfecto-Connect-windows.zip
Make sure you extract perfectoconnect.exe from the archive. Activate the Perfecto Connect client.
Start the client providing the URL of the Perfecto Lab and your personal security token, assigning the output to a local variable. Save the client's output to a properties file as TUNNEL_ID=<value>.
To start the client, we execute:
C:\Perfecto\perfectoconnect.exe start -c <cloudURL> -s <security-token>
For more information about how to use the client, see Download and basic usage.

Inject the environment variable from the properties file.
This injects the value of the TUNNEL_ID from the properties file to the build job.

Run tests. In this sample, we use Gradle to run tests. We pass the Perfecto Lab URL, the security token, and the TUNNEL_ID that we got from the client.

- Stop the Perfecto Connect client as a post-build action.
Related articles
-
Page:
-
Page:
-
Page:
-
Page:
-
Page: