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.

Xray - Test Management for Jira Plugin

step([$class: 'XrayExportBuilder']): Xray: Cucumber Features Export Task

  • serverInstance : String
  • issues : String
    Please fill this field with the issue keys separated by ";".
  • filter : String
    Please fill this field with the filter id.
  • filePath : String
    The default value is "/features"
  • credentialId : String
  • fields (optional)
    • Type: java.util.Map<java.lang.String, java.lang.String>
  • xrayInstance (optional)
      Nested Object
    • configID : String
    • alias : String
    • hosting
      • Values: SERVER, CLOUD
    • serverAddress : String
    • credentialId : String

step([$class: 'XrayImportBuilder']): Xray: Results Import Task

  • serverInstance : String
  • endpointName : String
  • projectKey : String
  • testEnvironments : String
  • testPlanKey : String
  • fixVersion : String
  • importFilePath : String
    The default value is "/features/result.json". Either specify the path and name to the new file or rename the json file to "result.json" and move it inside the features folder.
  • testExecKey : String
  • revision : String
  • importInfo : String
  • testImportInfo : String
  • inputInfoSwitcher : String
  • inputTestInfoSwitcher : String
  • importToSameExecution : String
  • credentialId : String
  • importInParallel : String
  • dynamicFields (optional)
    • Type: java.util.Map<java.lang.String, java.lang.String>
  • endpoint (optional)
    • Values: XRAY, XRAY_MULTIPART, CUCUMBER, CUCUMBER_MULTIPART, BEHAVE, BEHAVE_MULTIPART, JUNIT, JUNIT_MULTIPART, NUNIT, NUNIT_MULTIPART, ROBOT, ROBOT_MULTIPART, BUNDLE, TESTNG, TESTNG_MULTIPART, XUNIT, XUNIT_MULTIPART
  • xrayInstance (optional)
      Nested Object
    • configID : String
    • alias : String
    • hosting
      • Values: SERVER, CLOUD
    • serverAddress : String
    • credentialId : String

step([$class: 'XrayImportFeatureBuilder']): Xray: Cucumber Features Import Task

This Build Step can be used to import existing Cucumber Tests into Xray Tests.
  • serverInstance : String
    Select the configured Jira instance where the Tests will be imported.
  • folderPath : String
    This is the directory containing your feature files or a specific feature file. All the files in this directory and sub directories will be imported.
  • projectKey : String
    This is the project where the Tests and Pre-Conditions will be created/updated.
  • testInfo : String
  • preconditions : String
  • credentialId : String
  • lastModified : String (optional)
    By entering an integer n here, only files that where modified in the last n hours will be imported.
    Leave empty if you do not want to use this parameter.

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.