Hi Murali,

I would recommend that you define two separate pom.xml files, one for each 
docker image.

Also, the two docker maven plugins (spotify vs fabric8) typically use different 
JJB templates (due to a difference in Maven invocation).  Unless there is a 
specific need, I would suggest that you stick with just one just so that you 
don't have to learn the intricacies of both.

Once you have the two pom.xml files defined, then you should define two 
separate jobs in ci-management, pointing to each pom.xml respectively.

Thanks,
Gary

-----Original Message-----
From: Murali p 
Sent: Wednesday, September 13, 2017 10:56 AM
To: [email protected]
Cc: Gary Wu <[email protected]>
Subject: FW: [ONAP Helpdesk #45647] [vnfsdk] VNFSDK daily docker build failing

Hi,
I have changed the vnfmarket-be/deployment/docker/pom.xml to build two dockers.
1. Refrepo  -(com.spotify)
2.Postgres  database - (io.fabric8)

1) Currently PostGres docker build is disabled.How to enable it only during 
docker build and not in the daily build.
If i enable it in daily build or merge build, it fails. I am able to disable it 
for com.spotify plugin during daily or merge build.

2) How to able to push both these images? How can we specify it in jjb template?
https://gerrit.onap.org/r/#/c/11709/



Murali Mohan Murthy Potham

-----------------------------------------------------------


Huawei Technologies India Pvt. Ltd.
Level 3,4 &5 Leela Galleria, The Leela Palce 23, Airport Road, Bangalore - 
560008
080 41117676
[email protected]
www.huawei.com
-------------------------------------------------------------------------------------------------------------------------------------
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!

________________________________________
From: Murali p
Sent: Wednesday, September 13, 2017 10:09 PM
To: [email protected]
Cc: Praveen Krishnamurthy P
Subject: RE: [ONAP Helpdesk #45647] [vnfsdk] VNFSDK daily docker build failing

I have fixed the docker build issue.

If the build produce two docker images, our Jenkins job can push both of them?

Please help to check this.

-----Original Message-----
From: Jessica Wagantall via RT [mailto:[email protected]]
Sent: 12 September 2017 22:40
To: Murali p <[email protected]>
Subject: [ONAP Helpdesk #45647] [vnfsdk] VNFSDK daily docker build failing

Hi,

I have now corrected the account issue and got past the error.
Looks like there is a conflict in the pom file for vnfmarket/deployment/docker

Can you please address this issue:
17:08:26 [ERROR] No plugin found for prefix 'docker' in the current project and 
in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available 
from the repositories [local (/home/jenkins/.m2/repository), snapshots 
(https://nexus.onap.org/content/repositories/snapshots/), releases 
(https://nexus.onap.org/content/repositories/releases/), release-mirror 
(https://nexus.onap.org/content/repositories/public/), ecomp-releases 
(https://nexus.onap.org/content/repositories/releases/), ecomp-snapshots 
(https://nexus.onap.org/content/repositories/snapshots/)] -> [Help 1]
17:08:26 [ERROR]
17:08:26 [ERROR] To see the full stack trace of the errors, re-run Maven with 
the -e switch.
17:08:26 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
17:08:26 [ERROR]
17:08:26 [ERROR] For more information about the errors and possible solutions, 
please read the following articles:
17:08:26 [ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException

Thanks a ton!
Jess.
_______________________________________________
onap-discuss mailing list
[email protected]
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to