Skip to content

Gradle plugin appears to cause artifacts to end up in maven local cache #42

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

Open
davidmc24 opened this issue Dec 4, 2014 · 0 comments

Comments

@davidmc24
Copy link

I'm using the Gradle plugin by way of the Artifactory Bamboo plugin. In the configuration of the Artifactory Gradle task, I specify to call the "build" task, "Capture and Publish Build Info", "Publish Artifacts to Artifactory", "Publish Maven Descriptors", and "Use Maven 2 Compatible Patterns".

In my Bamboo logs, I see that the "artifactoryPublish" task is preceded by the "install" due to a dependency. Having "install" called results in the artifacts ending up in the maven local cache on the CI server, causing unnecessary disk usage and need for cleanup.

I think that the problematic logic may be around here:

https://github.com/JFrogDev/build-info/blob/a78049b65043e9eca2d5bbd20a3d12164521a033/build-info-extractor-gradle/src/main/groovy/org/jfrog/gradle/plugin/artifactory/task/BuildInfoConfigurationsTask.java#L374

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

No branches or pull requests

1 participant