Jenkins

Updated 1 year ago by SYED A HAMID

To install Sofy.ai Jenkins plugin, open your jenkins dashboard.

  1. Click on Manage Jenkins
  2. Click on Manage Plugins
  1. Click on Available Tab
  2. Search 'Sofy' and you should see 'Sofy.ai' plugin in the results.
  3. This plugin can be installed and used immediately by checking the box adjacent to the plugin and clicking Install without restart.

For Web Application Builds

When making a new freestyle project in Jenkins (or select configure on your existing project)

  1. Select "Add Post-build Actions"
  2. Select "Stage web test run with Sofy.ai"
  3. Select "Stage web test run with Sofy.ai"
    1. Enter the api key obtained from your Sofy.ai account. If you have misplaced your api key or don't have one
      1. Login to sofy.ai
      2. Go to Settings
      3. Select API key
      4. Click on Generate new key. Copy this key to Jenkins
    2. Enter the url your web app will be hosted at, as well the max number of pages you want sofy to test
  4. Select Save
    1. Test runs will be staged on Sofy.ai under your account automatically after successful builds. Any errors or problems will be reported in the build log output. Report errors at "https://www.Sofy.ai/contact-us".
  5. Select "View Test Run Results" in the respective build menu to check results. To view more detailed results visit "https://www.Sofy.ai"

For Mobile Application Builds

When making a new freestyle project in Jenkins (or select configure on your existing project)

  1. Select "Add Post-build Actions"
  2. Select "Stage mobile test run with Sofy.ai"
  3. Enter the api key obtained from your Sofy.ai account. If you have misplaced your api key or don't have one
    1. Login to sofy.ai
    2. Go to Settings
    3. Select API key
    4. Click on Generate new key. Copy this key to Jenkins
  4. Enter the file path your '.apk' file will be located at after a successful build
  5. Select Save
    1. Test runs will be staged on Sofy.ai under your account automatically after successful builds. Any errors or problems will be reported in the build log output. Report errors at "https://www.Sofy.ai/contact-us".
  6. Select "View Test Run Results" in the respective build menu to check results. To view more detailed results visit "https://www.Sofy.ai"


How did we do?