Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

2. Let's Create a simple plan. Open Create drop-down menu and select Create a new Plan. If you are using Bamboo for the first time, just click on the Create your first build plan button.


Image RemovedImage Added

3. The Configure plan page opens. Provide Project name, Plan name and other details related to the plan. You can even link a code repository with the plan.

4. Finally, click on the Configure plan button.


Image RemovedImage Added

5. The next screen of Configure tasks opens.

...

Set up repository for the newly created test plan. Add “Source Code Checkout” task that uses the repository you created earlier.

Image RemovedImage Added 

 6. Add a Builder Task type. Maven 3.x task is added here.

Click on the Add task button to add more tasks to the plan.

Image RemovedImage Added 

7. Click on the Add task button to add more tasks to the plan.

8. The Task types wizard opens next. Select task “QMetry for Bamboo – DevOps / CD” from the “All” tab.

 Image RemovedImage Added

9. Configure the QMetry for Bamboo – DevOps / CD task. Now QMetry for Jira Cloud also supported along with QMetry for Jira Server.

Jira Cloud

Image Removed

Jira Server

Image Removed

Image Added


Parameter

Required

Description

Automation Api Key

Yes

Your API Key. API Key is unique for a specific user in a single project. The result will be imported for the project associated with the given API Key.

Test Run NameNoName of the test run to be created. It will be appended with the Jenkins build Number.
Test Run KeyNoExisting Issue Key of Test Run. Test run will be appended with the test case and executions.

Result File path/Result Directory

Yes

Path to your result file to be uploaded.

Example : The Bamboo plugin is expecting the file in BambooHome/xml-data/build-dir/<Project Name>
If your project name is TestNGProject, then you will find a folder name with TestNGProject "Key Name" in bamboo home BambooHome/xml-data/build-dir/<Project Name>
Your result file should be under BambooHome/xml-data/build-dir/<Project Name> 
The path that should be set in plugin configuration is "/Testng-result.xml"

FormatYes

Format of result file to be imported. Supported formats:

cucumber/json testng/xml junit/xml qas/json

Test Asset HierarchyYes

Level of Hierarchy : Test Scenario-Test Case Or Test Case-Test Step

Platform

No

Name of Platform on which test run to be executed.

Labels

No

Comma separated names of Labels to be added to the test run.

Versions

No

Comma separated names of versions to be added to the test run.

Components

No

Comma separated names of Components to be added to the test run.

Sprint

No

Name of Sprint to be added to the test run.

Comment

No

Comment to be added to the test run.

JIRAFields

NoCheck specific Automation custom fields possible value and format here.



Jira Server

Image Added

Parameter

Type

Required

Description

QMetry Automation API URL

String

Yes

QMetry Automation API URL. You can get this information from Automation API page under QMetry menu of JIRA plugin.

Enter JIRA URL

Automation Api Key

string

Yes

Your API Key. API Key is unique for a specific user in a single project. The result will be imported for the project associated with the given API Key.

JIRA

Jira Username

string

Yes

JIRA Username

JIRA

Jira Password

string

Yes

Password for JIRA instance.

Test Run

Format

string

selection

No

Yes

Name of the test run

Format of result file to be

created

imported.

Default value: Test Run.Test Result File Path

Supported formats:

cucumber/json testng/xml junit/xml qas/json

Result File path/Result Directory

string

Yes

Your

Path to your result file to be uploaded.

Supported file extensions: .json, .xml

Format

string

Yes

Format of result file to be imported. Supported formats:

cucumber/json testng/xml junit/xml qas/json

Example : The Bamboo plugin is expecting the file in BambooHome/xml-data/build-dir/<Project Name>
If your project name is TestNGProject, then you will find a folder name with TestNGProject "Key Name" in bamboo home BambooHome/xml-data/build-dir/<Project Name>
Your result file should be under BambooHome/xml-data/build-dir/<Project Name> 
The path that should be set in plugin configuration is "/Testng-result.xml"

Test Run Name

string

No

Name of the test run to be created. It will be appended with the Jenkins build Number.

Test Run Key

string

No

Existing Issue Key of Test Run. Test run will be appended with the test case and executions.

Test Asset Hierarchyselection

Level of Hierarchy : Test Scenario-Test Case Or Test Case-Test Step

Platform

string

No

Name of Platform on which test run to be executed.

Labels

string

No

Comma separated names of Labels to be added to the test run.

Versions

string

No

Comma separated names of versions to be added to the test run.

Components

string

No

Comma separated names of Components to be added to the test run.

Sprint

string

No

Name of Sprint to be added to the test run.

Comment

string

No

Comment to be added to the test run.

JIRAFields

JSONNoCheck specific Automation custom fields possible value and format here.


          

10. Open the Run drop-down menu at top right and select the Run plan option.

Image RemovedImage Added

11. You can see the success message in the logs for the job.

Image RemovedImage Added


12. Now open your JIRA Issue page. The report is displayed for the run.

Image RemovedImage Added


Jira Fields
Anchor
JIRAfields
JIRAfields

...