Hi Jinhua, I see; I didn’t realize that script was blindly updating all the versions of the parents as well.
Looks like a {project-name}-{stream}-{subproject}-release-version-java-daily template already exists, so you should be able to use that one. Thanks, Gary From: fu.jin...@zte.com.cn [mailto:fu.jin...@zte.com.cn] Sent: Thursday, October 12, 2017 5:48 PM To: Gary Wu <gary.i...@huawei.com> Cc: yangya...@chinamobile.com; luxin (F) <lux...@huawei.com>; meng.zhaoxi...@zte.com.cn; onap-helpd...@rt.linuxfoundation.org; onap-discuss@lists.onap.org Subject: 答复: [integration] RE: [ONAP Helpdesk #46936] –release-version3-java-daily job failed Hi Gay, For vfc-nfvo-driver-sfc-master-driver-sfc-zte-release-version3-java-daily, we already changed oparent version to 0.1.1, but the version2 template will execute include-update-pom-versions.sh which changed the oparent version to 1.0.0(you can see the console log) so we use the version3 template, the template will execute include-update-pom-versions-not-parent.sh, but it also change the oparent version to 1.0.0(you can see the console log). So can you help to create a {project-name}-{stream}-{subproject}-release-version-java-daily template for us? Thanks, Jinhua 原始邮件 发件人: <gary.i...@huawei.com<mailto:gary.i...@huawei.com>>; 收件人: <yangya...@chinamobile.com<mailto:yangya...@chinamobile.com>>; 抄送人:傅锦华10108953; <lux...@huawei.com<mailto:lux...@huawei.com>>;孟照星10024238; <onap-helpd...@rt.linuxfoundation.org<mailto:onap-helpd...@rt.linuxfoundation.org>>; <onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>>; 日 期 :2017年10月13日 00:21 主 题 :[integration] RE: [ONAP Helpdesk #46936] –release-version3-java-daily job failed Hi Yan, Let's take these jobs one at a time. For https://jenkins.onap.org/view/vfc/job/vfc-nfvo-driver-sfc-master-driver-sfc-zte-release-version3-java-daily/1/console, I suspect the issue is that you're still depending on oparent 1.0.0-SNAPSHOT, and the job template was changing all SNAPSHOT versions to your particular release version string. To fix this, please change your oparent dependency to 0.1.1 (the current release version). For https://jenkins.onap.org/view/vfc/job/vfc-nfvo-driver-svnfm-master-drv-vnfm-huawei-release-version3-java-daily/2/console, it looks like it's depending on one of your artifacts that don't exist yet. If the situation is similar to the above, then you need to make sure you issue a final release artifact for the upstream dependency first, then change your dependency to that specific release version in your pom. Thanks, Gary -----Original Message----- From: 杨艳 [mailto:yangya...@chinamobile.com] Sent: Wednesday, October 11, 2017 6:50 PM To: Gary Wu <gary.i...@huawei.com<mailto:gary.i...@huawei.com>> Cc: fu.jin...@zte.com.cn<mailto:fu.jin...@zte.com.cn>; luxin (F) <lux...@huawei.com<mailto:lux...@huawei.com>>; meng.zhaoxi...@zte.com.cn<mailto:meng.zhaoxi...@zte.com.cn>; onap-helpd...@rt.linuxfoundation.org<mailto:onap-helpd...@rt.linuxfoundation.org>; jphe...@linuxfoundation.org<mailto:jphe...@linuxfoundation.org>; jwagant...@linuxfoundation.org<mailto:jwagant...@linuxfoundation.org>; Gildas Lanilis <gildas.lani...@huawei.com<mailto:gildas.lani...@huawei.com>> Subject: 转发: [ONAP Helpdesk #46936] –release-version3-java-daily job failed Hi Gary, We tried to use release-version2-java-daily and release-version3-java-daily and found they didn't work correctly for our project. They told me can't find parent artifact, I don't how to deal with them because we tried and update many time according to our project structure. I think you are more familiar with the above jobs logic ,may help us to resolve soon. So can you help to check the following error: https://jenkins.onap.org/view/vfc/job/vfc-nfvo-driver-svnfm-master-drv-vnfm-huawei-release-version3-java-daily/2/ https://jenkins.onap.org/view/vfc/job/vfc-nfvo-driver-sfc-master-driver-sfc-zte-release-version3-java-daily/1/ If the above two version jobs are not applicable for us, can you help to add another job for us to use, because we are afraid we haven't enough knowledge to do this. Thank you. Best Regards, Yan -----邮件原件----- 发件人: 杨艳 [mailto:yangya...@chinamobile.com] 发送时间: 2017年10月12日 8:30 收件人: 'onap-helpd...@rt.linuxfoundation.org'; 'jphe...@linuxfoundation.org' 抄送: 'jwagant...@linuxfoundation.org' 主题: 答复: [ONAP Helpdesk #46936] –release-version3-java-daily job failed Can you simply introduce the release-version3-java-daily job's logic? Attachment is the project file structure, the parent's pom.xml are not found in staging repo. When we use the release-java-daily job, and we defined the subproject in this component's jjb template and refer to the svnfm/huawei/vnfmadapter/pom.xml, it can build successfully. I guess there may be some different logic between release-java-daily job and release-version3-java-daily job? -----邮件原件----- 发件人: Jeremy Phelps via RT [mailto:onap-helpd...@rt.linuxfoundation.org] 发送时间: 2017年10月12日 6:26 收件人: yangya...@chinamobile.com<mailto:yangya...@chinamobile.com> 抄送: jwagant...@linuxfoundation.org<mailto:jwagant...@linuxfoundation.org> 主题: [ONAP Helpdesk #46936] –release-version3-java-daily job failed Well I guess more specifically it cannot find the parent project pom.xml. On Wed Oct 11 18:23:16 2017, jeremyphelps wrote: > Hi Yan, > So it can't find `vfc-nfvo-driver-vnfm-svnfm` in staging...I don't see > a daily release job for that project. Could be that we just need to > build that job. > Jeremy > > On Wed Oct 11 18:18:36 2017, > yangya...@chinamobile.com<mailto:yangya...@chinamobile.com> wrote: > > It failed again, the parent artifact is not built in staging repo, I > > don't know why. > > > > This is the error message: > > https://jenkins.onap.org/view/vfc/job/vfc- > > nfvo-driver-svnfm-master-drv-vnfm-huawei-release-version3-java- > > daily/2/console > > > > Yan > > > > -----邮件原件----- > > 发件人: Jeremy Phelps via RT [mailto:onap- > > helpd...@rt.linuxfoundation.org<mailto:helpd...@rt.linuxfoundation.org>] > > 发送时间: 2017年10月12日 6:04 > > 收件人: yangya...@chinamobile.com<mailto:yangya...@chinamobile.com> > > 抄送: jwagant...@linuxfoundation.org<mailto:jwagant...@linuxfoundation.org> > > 主题: [ONAP Helpdesk #46936] –release-version3-java-daily job failed > > > > Hi Yan, > > I just reviewed that change and merged. > > It looks correct, lets keep an eye on it. > > Jeremy > > > > On Wed Oct 11 17:50:09 2017, > > yangya...@chinamobile.com<mailto:yangya...@chinamobile.com> wrote: > > > Hi Jeremy, > > > > > > Thank you for quick reply. > > > I update the yaml template according to our project structure, can > > > you help to review https://gerrit.onap.org/r/#/c/18361/ and I want > > > to verify if this update can work correctly. Thank you. > > > > > > > > > Yan > > > > > > -----邮件原件----- > > > 发件人: Jeremy Phelps via RT [mailto:onap- > > > helpd...@rt.linuxfoundation.org<mailto:helpd...@rt.linuxfoundation.org>] > > > 发送时间: 2017年10月12日 5:36 > > > 收件人: yangya...@chinamobile.com<mailto:yangya...@chinamobile.com> > > > 抄送: jwagant...@linuxfoundation.org<mailto:jwagant...@linuxfoundation.org> > > > 主题: [ONAP Helpdesk #46936] –release-version3-java-daily job failed > > > > > > Hi Yan, > > > At first glance this looks to be an issue with the way the project > > > pom's are structured. I will investigate and update shortly. > > > Jeremy > > > > > > On Wed Oct 11 15:53:25 2017, > > > yangya...@chinamobile.com<mailto:yangya...@chinamobile.com> wrote: > > > > Hi Helpdesk, > > > > > > > > We use –release-version3-java-daily template to do version daily > > > > job, > > > > because this template support 'subproject', but jobs all > > > > failed. > > > > Can > > > > you help us to see how to resolve it. > > > > > > > > This is one Jenkins error log > > > > https://jenkins.onap.org/view/vfc/job/vfc-nfvo-driver-svnfm- > > > > master- > > > > drv-vnfm-nokia-release-version3-java-daily/1/console > > > > > > > > In fact,before we use –release-version3-java-daily template, we > > > > also have tried versions2 template, it also failed. > > > > > > > > > > > > Best Regards, > > > > Yan
_______________________________________________ onap-discuss mailing list onap-discuss@lists.onap.org https://lists.onap.org/mailman/listinfo/onap-discuss