Problem

Jenkins CLM jobs fail before posting the report back to IQ.

The error looks like this:

12:09:33 java.lang.IllegalArgumentException: The application ID onap-so-adapters-so-etsi-sol003-adapter is invalid.


Solution

This happens specially when a new repo is created or the name of the project was changed. 


To resolve this:
  1. Go into https://nexus-iq.wl.linuxfoundation.org/
  2. Click "Orgs and Policies" in the top menu
  3. Click on the project's org reporting the issue
  4. Click on "+ New Application"
  5. Add the new application with Application Name and Application ID matching "<org>-<project-name>" (In the case above "onap-so-adapters-so-etsi-sol003-adapter")
  6. Re-run the CLM job.