Versions Compared

Key

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

...

No Format
token=$(curl -H "Content-Type: application/json" -X POST --data @"cloud_auth.json" '{ "client_id": "${***}","client_secret": "${***}" }' https://xray.cloud.xpand-it.com/api/v1/authenticate| tr -d '"')

...

Export Cucumber tests

No Format
token=$(curl -H "Content-Type: application/json" --output featureBundle.zip -X POSTGET --dataH @"cloud_auth.json" "Authorization: Bearer ${token}"  "https://xray.cloud.xpand-it.com/api/v1/authenticate| tr -d '"')export/cucumber?keys=CALC-1;CALC-3"


Unzip the tests (Cucumber .feature files)

No Format
unzip -o features/featuresfeatureBundle.zip -d features/


Run the tests and save the report

...

Import the test results to Jira

No Format
token=$(curl -H "Content-Type: application/json" -X POST -H "Authorization: Bearer ${token}" --data @"cloud_auth@report.json" https://xray.cloud.xpand-it.com/api/v1/authenticate| tr -d '"')import/execution/cucumber


CI in a project using non-Cucumber tests

...