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

Gradle artifactoryPublish compiles code by default #213

Open
scottsue opened this issue Jul 28, 2020 · 0 comments
Open

Gradle artifactoryPublish compiles code by default #213

scottsue opened this issue Jul 28, 2020 · 0 comments

Comments

@scottsue
Copy link

Using the Gradle Artifactory plugin, is there a way to not compile the source before publishing when using the artifactoryPublish task? Within our CI tool, I want to be able to separate the stages from each other so that we have a build stage which compiles the code, and a deploy stage which publishes to artifactory.

At the moment artifactoryPublish rebuilds the code, which is making the builds run twice as long

Looking at the other available tasks given by the Artifactory plugin, there is artifactoryDeploy. However this doesn't seem to push any jar artifacts that are already present in my build/libs directory

Thanks in advance

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