Jenkins Integration


Jenkins is a self-contained, open source automation server which can be used to automate all sorts of tasks related to building, testing, and deploying software.

Below is the procedure:

For Linux
  • In your Jenkins project, add a new build step Execute Shell Command.

  • Add the following script, and insert your API key, test suite Id, browser name ("Chrome", "Firefox", "IE") and optional variable name value pairs.

curl -O https://doc.cloudqa.io/files/cloudqa-jenkins.sh

bash cloudqa-jenkins.sh "<APIKEY>" <TestSuiteId> <Browser[optional]> <variables[ex: var1=val1,var2=val2, optional]>
For Windows
  • Install the Powershell plugin by choosing PowerShell Plugin from Manage Jenkins -> Manage Plugins.

  • In your project add a new build step Windows Powershell.

  • Add the below script, and substitute values for API Key, TestSuite Id, Browser and Variables

Invoke-WebRequest -Uri https://cloudqafiles.s3.amazonaws.com/cloudqa-jenkins.ps1 -OutFile cloudqa-jenkins.ps1

./cloudqa-jenkins.ps1 "<APIKEY>" <TestSuiteId> <Browser[optional]> <variables[ex: var1=val1,var2=val2, optional]>

results matching ""

    No results matching ""