ghale / gradle-jenkins-plugin

Gradle plugin to programmatically configure Jenkins jobs.
123 stars 42 forks source link

Enhancement request - default a job definition's name to job name. #15

Closed dlethin closed 11 years ago

dlethin commented 11 years ago

This is a great plugin. I've just started to explore using it. In the spirit of convention over configuration and keeping build files small I wonder if you could modify the plugin to not require the name field for a JobDefinition. If not supplied, it would default to the the name of the job itself.

Thanks again for this great plugin.

Doug

ghale commented 11 years ago

Yeah, we could do that. There are a variety of use cases where you want them to be different, but in simple cases there's no reason why they shouldn't be the same. I think it makes a lot of sense to just make that the convention.

ghale commented 11 years ago

Fixed in v0.3.2.