Hi Chuanyu,

The ONAP CSIT job template is a bit different from OPEN-O.  The ONAP CSIT JJB 
example is here: 
https://git.onap.org/ci-management/tree/jjb/integration/integration-csit.yaml

The main differences are:

・         The job names are now
   - '{project-name}-{stream}-verify-csit-{functionality}'
   - '{project-name}-{stream}-csit-{functionality}'

・         The “project” parameter is changed to “project-name”.

・         There is a new “stream” parameter.

Once you make the changes to match the new ONAP template then it should work.

Thanks,
Gary


From: Chenchuanyu
Sent: Wednesday, August 02, 2017 2:46 AM
To: Gary Wu <gary.i...@huawei.com>
Cc: Seshu m <seshu.kuma...@huawei.com>
Subject: Hi Gary ,need help for CSIT job.

Hi Gary:

Because for M2 checklist, we need to have a CSIT task in Jenkins, so I make 2 
changes as below, one for Jenkins job in ci-management project, one for CSIT 
test case in integration project.
https://gerrit.onap.org/r/#/c/6535/
https://gerrit.onap.org/r/#/c/6537/

I get an error for 6535 change as below:

DEBUG:jenkins_jobs.parser:Expanding project 'so-csit'
Traceback (most recent call last):
  File "/tmp/v/jjb/bin/jenkins-jobs", line 11, in <module>
    sys.exit(main())
  File "/tmp/v/jjb/lib/python2.7/site-packages/jenkins_jobs/cmd.py", line 191, 
in main
    execute(options, config)
  File "/tmp/v/jjb/lib/python2.7/site-packages/jenkins_jobs/cmd.py", line 380, 
in execute
    n_workers=1)
  File "/tmp/v/jjb/lib/python2.7/site-packages/jenkins_jobs/builder.py", line 
349, in update_jobs
    self.parser.expandYaml(jobs_glob)
  File "/tmp/v/jjb/lib/python2.7/site-packages/jenkins_jobs/parser.py", line 
266, in expandYaml
    .format(jobname))
jenkins_jobs.errors.JenkinsJobsException: Failed to find suitable template 
named 'integration-verify-{project}-csit-{functionality}'

Because I add the job file refer to what we add in OPEN-O, so I don’t know why 
this happen. Can you know how can I add the job?

Thanks,
Chuanyu Chen.
***************************************************************************************
本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件!
**************************************************************************************

***************************************************************************************
This e-mail and its attachments contain confidential information from HUAWEI, 
which is intended only for the person  or entity whose address is listed above. 
Any use of the information contained herein in any way (including, but not   
limited to, total or partial disclosure, reproduction, or dissemination) by 
persons other than the intended recipient(s) is  prohibited. If you receive 
this e-mail in error, please notify the sender by phone or email immediately 
and delete it!
***************************************************************************************

_______________________________________________
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to