[JIRA] (JENKINS-38604) Filter class directories

3 views
Skip to first unread message

reitzmichnicht@gmx.de (JIRA)

unread,
Sep 29, 2016, 8:43:03 AM9/29/16
to jenkinsc...@googlegroups.com
Michael D created an issue
 
Jenkins / Improvement JENKINS-38604
Filter class directories
Issue Type: Improvement Improvement
Assignee: Ognjen Bubalo
Components: jacoco-plugin
Created: 2016/Sep/29 12:42 PM
Environment: Jenkins 2.7.3 with JaCoCo plugin 2.0.1
Priority: Major Major
Reporter: Michael D

When using the post build step to publish JaCoCo coverage the plugin takes all files in the **/classes directory.
Having jar files with large resource files leads to xxxGB of wasted space on the Jenkins server, because this is stored for every build job.

The plugin should only publish *.class files to the jobs\xxx\builds\123\jacoco\classes directory.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

webmaster@mheinzerling.de (JIRA)

unread,
Mar 14, 2017, 4:59:02 AM3/14/17
to jenkinsc...@googlegroups.com
Martin Heinzerling assigned an issue to Martin Heinzerling
Change By: Martin Heinzerling
Assignee: Ognjen Bubalo Martin Heinzerling
This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

webmaster@mheinzerling.de (JIRA)

unread,
Mar 14, 2017, 5:01:02 AM3/14/17
to jenkinsc...@googlegroups.com
Martin Heinzerling commented on Improvement JENKINS-38604
 
Re: Filter class directories

In addition to that, only *,java should be copied to sources.

 

centic, is there are scenario where we need jars in the classes path. Do we need to make this configurable.

webmaster@mheinzerling.de (JIRA)

unread,
Mar 14, 2017, 9:34:02 AM3/14/17
to jenkinsc...@googlegroups.com
In addition to that, only *,java should be copied to sources.

 

[~centic], is there are any scenario where we need jars in the classes path. Do we need to make this configurable.

webmaster@mheinzerling.de (JIRA)

unread,
Mar 14, 2017, 9:34:03 AM3/14/17
to jenkinsc...@googlegroups.com
Martin Heinzerling edited a comment on Improvement JENKINS-38604
In addition to that, only *,java should be copied to sources.

 

[~centic], is there any scenario where we need jars in the classes path. Do we need to make this configurable . ?

scm_issue_link@java.net (JIRA)

unread,
Mar 14, 2017, 9:34:03 AM3/14/17
to jenkinsc...@googlegroups.com
SCM/JIRA link daemon commented on Improvement JENKINS-38604
 
Re: Filter class directories

Code changed in jenkins
User: Martin Heinzerling
Path:
src/main/java/hudson/plugins/jacoco/JacocoPublisher.java
src/main/java/hudson/plugins/jacoco/JacocoReportDir.java
src/test/java/hudson/plugins/jacoco/JacocoPublisherTest.java
http://jenkins-ci.org/commit/jacoco-plugin/d771e0b15933516917208f30dd54bad81b1c290d
Log:
JENKINS-38604: limit copying of files to types *.java and *.class, improve logging

Compare: https://github.com/jenkinsci/jacoco-plugin/compare/370c2774bb71^...d771e0b15933

webmaster@mheinzerling.de (JIRA)

unread,
Mar 14, 2017, 9:36:02 AM3/14/17
to jenkinsc...@googlegroups.com
Martin Heinzerling started work on Improvement JENKINS-38604
 
Change By: Martin Heinzerling
Status: Open In Progress

webmaster@mheinzerling.de (JIRA)

unread,
Mar 14, 2017, 9:38:03 AM3/14/17
to jenkinsc...@googlegroups.com

webmaster@mheinzerling.de (JIRA)

unread,
Mar 14, 2017, 9:39:01 AM3/14/17
to jenkinsc...@googlegroups.com
Martin Heinzerling assigned an issue to centic
Change By: Martin Heinzerling
Assignee: Martin Heinzerling centic

dominik.stadler@gmx.at (JIRA)

unread,
Mar 15, 2017, 4:01:03 PM3/15/17
to jenkinsc...@googlegroups.com
centic assigned an issue to Martin Heinzerling
 

Looks good to merge to master!

Change By: centic
Assignee: centic Martin Heinzerling

webmaster@mheinzerling.de (JIRA)

unread,
Mar 16, 2017, 1:23:02 AM3/16/17
to jenkinsc...@googlegroups.com
Martin Heinzerling updated Improvement JENKINS-38604
 

Integrated into master.

Change By: Martin Heinzerling
Status: In Review Resolved
Resolution: Fixed

webmaster@mheinzerling.de (JIRA)

unread,
Mar 16, 2017, 1:23:02 AM3/16/17
to jenkinsc...@googlegroups.com

dominik.stadler@gmx.at (JIRA)

unread,
Sep 23, 2019, 4:06:07 PM9/23/19
to jenkinsc...@googlegroups.com
centic updated Improvement JENKINS-38604
 

See JENKINS-56918 for adjusting the inclusion pattern some more.

Change By: centic
Status: Reopened Fixed but Unreleased
Resolution: Fixed
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages