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

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

  • serverInstance
    • Type: String
  • endpointName
    • Type: String
  • projectKey
    • Type: String
  • testEnvironments
    • Type: String
  • testPlanKey
    • Type: String
  • fixVersion
    • Type: String
  • importFilePath
    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.
    • Type: String
  • testExecKey
    • Type: String
  • revision
    • Type: String
  • importInfo
    • Type: String
  • testImportInfo
    • Type: String
  • inputInfoSwitcher
    • Type: String
  • inputTestInfoSwitcher
    • Type: String
  • importToSameExecution
    • Type: String
  • credentialId
    • Type: String
  • importInParallel
    • Type: 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
      • Type: String
    • alias
      • Type: String
    • hosting
      • Values: SERVER, CLOUD
    • serverAddress
      • Type: String
    • credentialId
      • Type: String

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

This Build Step can be used to import existing Cucumber Tests into Xray Tests.
  • serverInstance
    Select the configured Jira instance where the Tests will be imported.
    • Type: String
  • folderPath
    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.
    • Type: String
  • projectKey
    This is the project where the Tests and Pre-Conditions will be created/updated.
    • Type: String
  • testInfo
    • Type: String
  • preconditions
    • Type: String
  • credentialId
    • Type: String
  • lastModified (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.
    • Type: String

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.