Project

General

Profile

bug #7284

Multiple taxeditor jars created in p2 update for a single jenkins build

Added by Patrick Plitzner 10 months ago. Updated 9 months ago.

Status:
Resolved
Priority:
New
Category:
taxeditor
Target version:
Start date:
02/21/2018
Due date:
% Done:

80%

Severity:
normal
Found in Version:

Description

For one execution of taxeditor-INTEGRATION there are three versions of every taxeditor jar on the update site. They all have different time stamps that are just some seconds apart from each other.

This may have to do with the configuration of the jenkins jobs.


Related issues

Related to Edit - bug #7279: p2 sites are extremely huge Closed 02/20/2018

Associated revisions

Revision 6502851f (diff)
Added by Patrick Plitzner 9 months ago

ref #7284 Delete taxeditor-INTEGRATION maven repo during clean phase

Revision 5a2cdd34 (diff)
Added by Patrick Plitzner 9 months ago

ref #7284 Adjust path

Revision 55971ae2 (diff)
Added by Patrick Plitzner 9 months ago

ref #7284 Adjust path again

Revision 7fbd5db8 (diff)
Added by Patrick Plitzner 9 months ago

ref #7284 Do not fail on error

Revision cc5bb09d (diff)
Added by Patrick Plitzner 9 months ago

ref #7284 Fix server URL

Revision 78895696 (diff)
Added by Patrick Plitzner 9 months ago

ref #7284 Remove folder in default clean phase

Revision c4fe6981 (diff)
Added by Patrick Plitzner 9 months ago

ref #7284 Move clean target to parent pom

Revision 045a6bb6 (diff)
Added by Patrick Plitzner 9 months ago

ref #7284 Move clean target to parent pom

  • Instead configure jenkins job to delete files

History

#1 Updated by Patrick Plitzner 10 months ago

  • Description updated (diff)

#2 Updated by Patrick Plitzner 10 months ago

  • Description updated (diff)
  • Status changed from New to Resolved
  • Assignee changed from Patrick Plitzner to Andreas Kohlbecker
  • % Done changed from 0 to 50

Removing -P uploadRepo -Dupdate.dir=nightly from the taxeditor-JRE-INTEGRATION solved this issue. Now there is only one jar for each taxeditor plugin on the update site

#3 Updated by Patrick Plitzner 10 months ago

  • Related to bug #7279: p2 sites are extremely huge added

#4 Updated by Patrick Plitzner 10 months ago

from Andreas K.:

Im jenkins worspace gibt es einen ordner indem sich noch immer viele artefakte ansammeln:

Ich denke der gehört zu tycho.

es wäre gut diesen Order bei Ausführung des clean in maven zu löschen:

# find -type f -name 'eu.etaxonomy.taxeditor.feature.*'                 
./eu.etaxonomy.taxeditor/target/repository/features/eu.etaxonomy.taxeditor.feature.platform_4.15.0.201802211508.jar 
./eu.etaxonomy.taxeditor.feature.platform/target/eu.etaxonomy.taxeditor.feature.platform-4.15.0-SNAPSHOT.jar 
./.repository/eu/etaxonomy/eu.etaxonomy.taxeditor.feature.platform/4.10.0-SNAPSHOT/eu.etaxonomy.taxeditor.feature.platform-4.10.0-SNAPSHOT.jar 
./.repository/eu/etaxonomy/eu.etaxonomy.taxeditor.feature.platform/4.10.0-SNAPSHOT/eu.etaxonomy.taxeditor.feature.platform-4.10.0-SNAPSHOT-p2metadata.xml 
./.repository/eu/etaxonomy/eu.etaxonomy.taxeditor.feature.platform/4.10.0-SNAPSHOT/eu.etaxonomy.taxeditor.feature.platform-4.10.0-SNAPSHOT.pom 
./.repository/eu/etaxonomy/eu.etaxonomy.taxeditor.feature.platform/4.10.0-SNAPSHOT/eu.etaxonomy.taxeditor.feature.platform-4.10.0-SNAPSHOT-p2artifacts.xml 
./.repository/eu/etaxonomy/eu.etaxonomy.taxeditor.feature.platform/4.11.0-SNAPSHOT/eu.etaxonomy.taxeditor.feature.platform-4.11.0-SNAPSHOT-p2metadata.xml 
./.repository/eu/etaxonomy/eu.etaxonomy.taxeditor.feature.platform/4.11.0-SNAPSHOT/eu.etaxonomy.taxeditor.feature.platform-4.11.0-SNAPSHOT-p2artifacts.xml 
./.repository/eu/etaxonomy/eu.etaxonomy.taxeditor.feature.platform/4.11.0-SNAPSHOT/eu.etaxonomy.taxeditor.feature.platform-4.11.0-SNAPSHOT.pom 
./.repository/eu/etaxonomy/eu.etaxonomy.taxeditor.feature.platform/4.11.0-SNAPSHOT/eu.etaxonomy.taxeditor.feature.platform-4.11.0-SNAPSHOT.jar 
./.repository/eu/etaxonomy/eu.etaxonomy.taxeditor.feature.platform/4.13.0-SNAPSHOT/eu.etaxonomy.taxeditor.feature.platform-4.13.0-SNAPSHOT.pom 
./.repository/eu/etaxonomy/eu.etaxonomy.taxeditor.feature.platform/4.13.0-SNAPSHOT/eu.etaxonomy.taxeditor.feature.platform-4.13.0-SNAPSHOT-p2metadata.xml 
./.repository/eu/etaxonomy/eu.etaxonomy.taxeditor.feature.platform/4.13.0-SNAPSHOT/eu.etaxonomy.taxeditor.feature.platform-4.13.0-SNAPSHOT.jar 
./.repository/eu/etaxonomy/eu.etaxonomy.taxeditor.feature.platform/4.13.0-SNAPSHOT/eu.etaxonomy.taxeditor.feature.platform-4.13.0-SNAPSHOT-p2artifacts.xml 
./.repository/eu/etaxonomy/eu.etaxonomy.taxeditor.feature.platform/4.15.0-SNAPSHOT/eu.etaxonomy.taxeditor.feature.platform-4.15.0-SNAPSHOT-p2artifacts.xml 
./.repository/eu/etaxonomy/eu.etaxonomy.taxeditor.feature.platform/4.15.0-SNAPSHOT/eu.etaxonomy.taxeditor.feature.platform-4.15.0-SNAPSHOT.pom 
./.repository/eu/etaxonomy/eu.etaxonomy.taxeditor.feature.platform/4.15.0-SNAPSHOT/eu.etaxonomy.taxeditor.feature.platform-4.15.0-SNAPSHOT.jar 
./.repository/eu/etaxonomy/eu.etaxonomy.taxeditor.feature.platform/4.15.0-SNAPSHOT/eu.etaxonomy.taxeditor.feature.platform-4.15.0-SNAPSHOT-p2metadata.xml 
./.repository/eu/etaxonomy/eu.etaxonomy.taxeditor.feature.platform/4.14.0-SNAPSHOT/eu.etaxonomy.taxeditor.feature.platform-4.14.0-SNAPSHOT.pom 
./.repository/eu/etaxonomy/eu.etaxonomy.taxeditor.feature.platform/4.14.0-SNAPSHOT/eu.etaxonomy.taxeditor.feature.platform-4.14.0-SNAPSHOT-p2metadata.xml 
./.repository/eu/etaxonomy/eu.etaxonomy.taxeditor.feature.platform/4.14.0-SNAPSHOT/eu.etaxonomy.taxeditor.feature.platform-4.14.0-SNAPSHOT.jar 
./.repository/eu/etaxonomy/eu.etaxonomy.taxeditor.feature.platform/4.14.0-SNAPSHOT/eu.etaxonomy.taxeditor.feature.platform-4.14.0-SNAPSHOT-p2artifacts.xml 
./.repository/eu/etaxonomy/eu.etaxonomy.taxeditor.feature.platform/4.12.0-SNAPSHOT/eu.etaxonomy.taxeditor.feature.platform-4.12.0-SNAPSHOT-p2metadata.xml 
./.repository/eu/etaxonomy/eu.etaxonomy.taxeditor.feature.platform/4.12.0-SNAPSHOT/eu.etaxonomy.taxeditor.feature.platform-4.12.0-SNAPSHOT-p2artifacts.xml 
./.repository/eu/etaxonomy/eu.etaxonomy.taxeditor.feature.platform/4.12.0-SNAPSHOT/eu.etaxonomy.taxeditor.feature.platform-4.12.0-SNAPSHOT.jar 
./.repository/eu/etaxonomy/eu.etaxonomy.taxeditor.feature.platform/4.12.0-SNAPSHOT/eu.etaxonomy.taxeditor.feature.platform-4.12.0-SNAPSHOT.pom

#5 Updated by Andreas Kohlbecker 9 months ago

  • Status changed from Resolved to In Progress
  • Assignee changed from Andreas Kohlbecker to Patrick Plitzner

Patrick Plitzner wrote:

from Andreas K.:

Im jenkins worspace gibt es einen ordner indem sich noch immer viele artefakte ansammeln:

Ich denke der gehört zu tycho.

es wäre gut diesen Order bei Ausführung des clean in maven zu löschen:

the folder ~jenkins/workspace/taxeditor-INTEGRATION/.repository/ still is full of these artifacts

#6 Updated by Patrick Plitzner 9 months ago

  • Status changed from In Progress to Resolved
  • Assignee changed from Patrick Plitzner to Andreas Kohlbecker
  • % Done changed from 50 to 80

Changed

rm -rf $M2REPO/eu/etaxonomy/cdmlib-*

to

rm -rf $M2REPO/eu/etaxonomy/

in jenkins job taxeditor-INTEGRATION to also remove the taxeditor artifacts.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)