• caglararli@hotmail.com
  • 05386281520

I have created custom policies in Blackduck. I want my CI pipeline to break if the policy is violated

Çağlar Arlı      -    4 Views

I have created custom policies in Blackduck. I want my CI pipeline to break if the policy is violated

I have created custom policies in Blackduck. I want my CI pipeline to break if the policy is violated.

I am running Detect with parameters such as

--detect.wait.for.results

  --detect.policy.check.fail.on.severities

  --detect.risk.report.pdf

  --detect.notices.report

In logs, I see 'Checking to see if Detect should check policy for violations.' The next line is 'Overall Policy Status of project version as reported by Black Duck: NOT_IN_VIOLATION'.

As per the custom policies the build is in violation.

Even the line next to the Detect is not getting executed.

Please guide.