gvalkov / jenkins-autojobs

Automatically create Jenkins jobs from template jobs and branches in a SCM repository
http://jenkins-autojobs.rtfd.org
Other
49 stars 39 forks source link

Add option to assign job into view #21

Closed ncoquelet closed 10 years ago

ncoquelet commented 10 years ago

Hi,

I start using jenkins-autojobs and it's an amazing script ! Save me a lot of times.

All I need work like charm except one thing ! The created job is assign to the default view ...

We have lots of project on our jenkins and sort jobs into views. Do you think you could add this feature ? Thanks

gvalkov commented 10 years ago

Hello,

I'm glad this module is of use to use. I've merged and squashed your commits (I hope you don't mind) in b0b7b92faccbf0cfe16d949567a40afb36b15e16 and I also made some changes of my own, such as adding more functionality, tests and a brief mention of this in the docs. Jenkins-webapi 0.3.0 on pypi includes these changes.

Thanks, Georgi

gvalkov commented 10 years ago

That's a pretty good idea. I'll try adding it by the end of the week.

ncoquelet commented 10 years ago

Hi, Nice work. Don't worry if you don't apply my RP in state, it was a prove of concept and untested codes ;-)

I am looking forward to see this feature implemented with jenkins-autojobs. Do you want some ugly codes to start your work ? :) Thanks

gvalkov commented 10 years ago

Hello,

Implemented in aeb2398730a6496275791dc5787f4d9bc4e248aa and released in jenkins-autojobs 0.14.0. Comments and testing are welcome.

One thing that doesn't work at the moment is the interaction between the cleanup and view options.

Regards, Georgi