--
Lars Hvile
>> In my opinion, regarding the granularity between Jenkins jobs and Gradle projets/modules, a job should match to a complete Gradle project and not a Gradle submodule.
I agree. This is possible with the maven plugin as well, and I'm in fact using it that way.
>> Then, you are able to use trigger mechanisms such as the IvyTrigger plugin to trigger a new build according a new value of a version of an Ivy depndency (therefore a Gradle dependency).
Didn't know about this. But does this mean that each project must have an ivy.xml for the dependencies, as well as the regular gradle stuff?
Lars Hvile
________________________________________
From: jenkin...@googlegroups.com [jenkin...@googlegroups.com] On Behalf Of Grégory Boissinot [gregory....@gmail.com]
Sent: Thursday, December 22, 2011 12:44 AM
To: jenkin...@googlegroups.com
Subject: Re: Gradle plugin - automatically build dependencies
I don't think it's a good idea. Jobs should be independent.
In my opinion, regarding the granularity between Jenkins jobs and Gradle projets/modules, a job should match to a complete Gradle project and not a Gradle submodule.
Then, you are able to use trigger mechanisms such as the IvyTrigger plugin to trigger a new build according a new value of a version of an Ivy depndency (therefore a Gradle dependency).
What happens to the tracking? In my current setup I can trace a commit
from a shared library all the way into a packaged application. And all
that useless polling.. Just doesn't feel right. So either way I'm going
to use the dependency mechanisms within Jenkins, it would just be cool
if the Gradle plugin would help me maintain them.
As for the rest of your answer. The Maven plugin does this for me today,
but if I were to switch to gradle, I would have no use for the pom (or
ivy.xml). Thus, the IvyTrigger or MavenTrigger plugins wouldn't be able
to help me unless I kept redundant versions of ivy.xml or pom.xml
around. Or am I missing something here?
--
Lars Hvile