Skip to content

jbadeau/xray-report

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Codefresh build status

xray-report

Jira Xray plugin for Gauge

Installation

gauge install xray-report

Installing specific version:

gauge install xray-report --version 0.x.x

Offline installation

gauge install xray-report --file <path_to_plugin_zip_file>

Usage

Add this plugin to your Gauge project by registering it in manifest.json file. You can also do this by:

{
  "Language": "",
  "Plugins": [
    "xray-report"
  ]
}

Provide the following env variables

jira_url = https://your.jira.url
jira_username = <user>
jira_password = <password>
jira_authentication = cookie/basic

Do NOT save the 'jira_password' in source code.

Default jira_authentication is cookie if property not provided.

The following env variables are optional, and allow to configure a specific testExecutionId and summary:

jira_test_execution_id = JIRA_ID
jira_test_execution_summary = Expected JIRA issue summary

Add TestCaseId:<XrayTestKey> tag to scenarios

## Scenario
Tags: TestCaseId:PROJECT-1

Reuse Test Execution

In order to avoid creating a new test execution for each run, add TestExecutionId:<XrayTestExecutionKey> tag to spec. Note: TestExecutionId defined in the tag will only be used if there was none set in the env variables.

# Spec
Tags: TestExecutionId:PROJECT-2