Unsupported character “/” when using sonar to scan pipeline script.

Solution Verified - Updated -

Issue

  • When writing pipeline script, we are using "Sonar" to do code quality scanning,the issue is sonar not support “/ " character inside name.
"Caused by: Validation of project reactor failed:  o "devebt/devebt-devebt" is not a valid project or module key. Allowed characters are alphanumeric, '-', '_', '.' and ':', with at least one non-digit.

Environment

  • OpenShift Container Platform 3+
  • Sonar

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content