Hi Evgeny,

We add the install task if you select to "Publish Maven descriptors".
If you wish to keep publishing maven descriptor but not to run the install
task, you can configure the plugin and point to an existing pom file.

Yossi


On Thu, Nov 8, 2012 at 11:41 PM, Evgeny Goldin <[email protected]> wrote:

> Hi,
>
> I noticed my Gradle builds are executing "install" task when run by
> TeamCity
> configuration with Artifactory deployment enabled in a Gradle runner. You
> can see from the logs that all  these builds
> <http://evgeny-goldin.org/teamcity/viewType.html?buildTypeId=bt53&guest=1>
> are running "install" even though they're only instructed to run the
> following tasks: "duplicates clean groovydoc build about
> artifactoryPublish", none of which depends on "install". If I run
> "duplicates clean groovydoc build about" locally then "install" is not
> executed, as expected.
>
> Is that a bug or expected behaviour? In my case it creates a side-effect of
> artifacts being installed to a local Maven repo, something I can live with
> but later need to deal with when the following test builds are expected to
> fetch the artifacts deployed from Artifactory but instead they find them in
> a local Maven repo (I keep mavenLocal() in their builds for dev purposes).
>
>
>
> -----
> Best regards,
> Evgeny
> http://evgeny-goldin.com/
>
> --
> View this message in context:
> http://forums.jfrog.org/Gradle-artifactoryPublish-in-TeamCity-adds-install-task-tp7578378.html
> Sent from the Artifactory - Users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_nov
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to