Jenkins maven project parallel build didn't deploy pom file

16 views
Skip to first unread message

Khar Yeow phang

unread,
Jun 15, 2015, 10:05:54 PM6/15/15
to jenkins...@googlegroups.com
I've maven project that contain multiple modules, the structure is illustrated as below,
Project-a-aggregation\pom.xml
--\
  module-a\pom.xml
  module-b\pom.xml
  module-b\pom.xml
  module-e\pom.xml
--\
  parent\pom.xml
--\
   depmgmt\pom.xml


We build with maven-3.3.1 and with clean install -T 4 in Jenkins ver. 1.596.2 and Maven Integration plugin 2.10
We use workspace as local repository.
We check out fresh source code from svn every time.
We use maven-version plugin to update pom version in very build. E.g. 1.1.0.123

It's very frustrated that where some time the aggregation/pom.xml, depmgmt/pom.xml or prent/pom.xml are missing in the Artifactory deployment. From the jenkins console log, we didn't see the log "[INFO] Deploying artifact: "  appear for one of these pom.xml. We have try clearing the workspace, some time after clear the workspace it work but subsequence build the symptom is back.

Your  ideal and contribution are very much appreciated.


Regards,
phang


Khar Yeow phang

unread,
Jun 15, 2015, 10:07:39 PM6/15/15
to jenkins...@googlegroups.com
Forgot to mentioned that the build is happens on a slave node with Centos 6.6.
Reply all
Reply to author
Forward
0 new messages