How to get Deployment Risk Bluemix Devops Insights Gate pass

0 votes

I set up a blue mix DevOps pipeline with DevOps insights Gate node included. My gate job is failing, but the unit test shows a 100% pass.

Snapshot of DevOps Insight⇒ Snapshot of DevOps Insight

All unit test passed, but still "decision for Unit Test" is red failed⇒ enter image description here

Detail of policy & rules: policy "Standard Mocha Test Policy"

Can someone help me with this?

Apr 11, 2022 in Other DevOps Questions by Kichu
• 19,040 points
660 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

 In your case you put "STAGING" into the "Environment Name" property of Gate Job, thus DevOps Insight does not properly evaluate all the test results you uploaded in both the Staging phase and Build phase.

You must also have incorrectly set the result type to "mocha" in the Policy Rule definition.

Solution :

  1. Keep the "Environment Name" field empty for Gate Job.
  2. On the Rule definition page (inside the DevOps Policy page), make sure the format type of the unit test result is "xUnit".

I hope this solves your issue.

answered Apr 13, 2022 by narikkadan
• 63,600 points

edited Mar 5

Related Questions In Other DevOps Questions

0 votes
0 answers

How to get access token for Azure DevOps from Microsoft Teams app?

I integrated an MS Teams using tab with ...READ MORE

Mar 21, 2022 in Other DevOps Questions by Kichu
• 19,040 points
923 views
0 votes
0 answers
0 votes
0 answers

How to get Devops OwnerID

Article:https://docs.microsoft.com/en-us/rest/api/azure/devops/account/accounts/list?view=azure-devops-rest-5.0 Where can I get the specified "owner ...READ MORE

Apr 14, 2022 in Other DevOps Questions by Kichu
• 19,040 points
650 views
+5 votes
7 answers

Docker swarm vs kubernetes

Swarm is easy handling while kn8 is ...READ MORE

answered Aug 27, 2018 in Docker by Mahesh Ajmeria
4,380 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,248 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP