Jenkins Sandbox - Jenkins setup - Issue - Policy Module


Hi Srinivasan, 

By the looks of it, the API token issue sounds like maybe a permission issue. Have you requested your LFID to be added to the Sandbox group?
If not, please contact

The JJB errors sound like maybe you forgot to fetch the submodules. 
Make sure to run "git submodule update --init --recursive" after you cloned the ci-management repo. 


On Fri, Feb 14, 2020 at 1:21 AM Srinivasan Selvam <srinivasanselvam2014@...> wrote:
Hi ONAP members,

I am working in ONAP in policy module.
I am trying to setup policy module CI setup using jenkins-jobs in ONAP sandbox as well as in local.  But I am getting the below errors 

while executing the command
"jenkins-jobs --conf jenkins.ini.example test jjb/policy"

jenkins_jobs.errors.JenkinsJobsException: Failed to find suitable template named '{project-name}-{stream}-verify-java'

And while executing "jenkins-jobs --conf jenkins.ini.example test jjb/policy/policy-api.yaml"

jenkins_jobs.errors.JenkinsJobsException: Failed to find suitable template named 'gerrit-maven-clm'

While executing sample-job template using jenkins sandbox onap API token,
jenkins.JenkinsException: Error in request. Possibly authentication failed [403]: Forbidden

I have updated the configuration file with the API token generated in after logging in with LF ID and also the user name

I have noticed that executing particular yaml file is failing when giving 
jenkins-jobs --conf test jenkins.ini.example <path for policy-api.yaml> (or)
jenkins-jobs --conf update jenkins.ini.example <path for policy-api.yaml>,  it gets failed in local but while executing the complete jjb/ directory , all the jobs related to ci-management gettting created in local.

Do we have any order in the execution of yaml files present in ci-management to create policy related jenkins jobs in sandbox of onap / local environment?

It would be really helpful, if someone help us to resolve this issue.

Referred link,