The following plugin provides functionality available through Pipeline-compatible steps. Read more about how to integrate steps into your Pipeline in the Steps section of the Pipeline Syntax page.

For a list of other such plugins, see the Pipeline Steps Reference page.

AIO Tests

aioImport: Publish results to AIO Tests - Jira

  • projectKey : String
    Jira Project key (eg. SCRUM) to which the results need to be reported to
  • resultsFilePath : String
    Path to results file which needs to be uploaded. Path needs to be relative to workspace eg. /target/surefire-reports/testng-results.xml
  • addCaseToCycle : boolean
    If checked, cases not already in cycle are added, else the cases are reported as errors
  • createCase : boolean
    If checked and no case exists with a matching case key or automation key, a new case is created
  • bddForceUpdateCase : boolean
    If checked, cases will be updated with scenario steps if they mismatch. Select if feature files from automation code repo are source of truth.
  • forceUpdateCase : boolean
    Affects only Robot cases with steps. Select to update case steps from steps in automaton results files. Keep unchecked if steps should not be updated from results.
  • isBatch : boolean
    If checked, results will be imported as a batch process. Batches run every few minutes and can be tracked from the AIO Cycles screen.
  • createNewRun : boolean
    If checked, a new run will be created for each execution of case. If unchecked, the existing latest run would be overwritten with execution data.
  • apiKey
    API Token from AIO Tests - to move to credentials or global config
    • Type: class hudson.util.Secret
  • frameworkType : String (optional)
  • entry (optional)
      Nested Choice of Objects
    • $class: 'ExistingCycle'
      • cycleKey : String
        AIO Tests Cycle Key that needs to be updated with results - eg. SCRUM-CY-1 Results will be updated to the specified cycle.
    • $class: 'NewCycle'
      • cyclePrefix : String
        Prefix to be used while creating a new AIO Tests cycle. A new cycle would be created with prefix appended with timestamp of run eg.Regression Run Fri Dec 11 13:21:56 TZ 2020
      • cycleFolder : String
        Comma separated list of folder hierarchy. If folder exists, it would be used else a new folder would be created along with its hierarchy, and newly created cycle would be put in the folder
      • cycleTasks : String
        Comma separated lists of task/story ids. Eg. AT-223,AT-225
  • failBuildOnFailure : boolean (optional)
    If checked, the build result will be updated to failed, in case publishing results fails
  • hideDetails : boolean (optional)
    If checked, case details from the publish results response will be hidden in job console log. If unchecked, status would be shown against each case that was published.
  • jiraInstanceType : String (optional)
  • jiraPassword (optional)
    Jira Server Password
    • Type: class hudson.util.Secret
  • jiraServerUrl : String (optional)
    Jira Server IP address or hostname eg. https://yourjiraserver.com
  • jiraUsername : String (optional)
    Jira Server Username

Was this page helpful?

Please submit your feedback about this page through this quick form.

Alternatively, if you don't wish to complete the quick form, you can simply indicate if you found this page helpful?

    


See existing feedback here.