Using IBM Cloud CLI DevOps Insights plugin, I successfully uploaded my unit test results and code coverage report.
But in Quality Dashboard I only see my application name, and not the test result data.
Using IBM Cloud CLI DevOps Insights plugin, I successfully uploaded my unit test results and code coverage report.
But in Quality Dashboard I only see my application name, and not the test result data.
If the CLI says test results were uploaded successfully, but only application name appears in Quality Dashboard,
logicalappname
andbuildnumber
compared to test record'slogicalappname
andbuildnumber
If user did not upload a build record, build records can be uploaded through the IBM Cloud CLI DevOps Insights plugin using this command:
ibmcloud doi publishbuildrecord --logicalappname="$MY_APP_NAME" --buildnumber="$MY_BUILD_NUMBER" --branch="$GIT_BRANCH" --repositoryurl="$REPO_URL" --commitid="$COMMIT_ID" --status=pass
Be sure to change the environment variables to fit the application information
Please note that
logicalappname
andbuildnumber
MUST be the same for both the uploaded build record and test records, so that test result data can appear in Quality Dashboard.For documentation, please visit https://cloud.ibm.com/docs/services/DevOpsInsights