Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to remove original exec file #95

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mgor
Copy link

@mgor mgor commented Mar 7, 2018

Build parameter that would trigger the removal of the
original exec file after it has been copied to the build
job directory. Default setting being false, hence not
backward incompatible in regards of behavior.

The use-case being that an exec file that has been fetched
from a jacoco-agent can be quite huge, and would also only
be valid until the job has finished. Being that a copy
exists in the build directory already it seems unnecessary
to keep the original in the workspace.

Added test in JacocoPublisherTest::testGetterSetter, also
added a missing test for setBuildOverBuild/isBuildOverBuild.

A bunch of unnecessary whitespaces was also removed...

Build parameter that would trigger the removal of the
original exec file after it has been copied to the build
job directory.

The use-case being that an exec file that has been fetched
from a jacoco-agent can be quite huge, and would also only
be valid for when the job has finished. Being that a copy
exists in the build directory already.

Added test in JacocoPublisherTest::testGetterSetter, also
added a missing test for setBuildOverBuild/isBuildOverBuild.
@centic9
Copy link
Member

centic9 commented Nov 3, 2019

To be honest I am not sure we should add such a feature to this plugin itself as it would further add to the many options that are available and sometimes confuse users and is a use-case that is very rarely needed as far as I see.

Also this can easily be done by a simple additional build-step, e.g. a shell command, or?

@centic9
Copy link
Member

centic9 commented Nov 3, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants