Develop a custom project type

15 views
Skip to first unread message

Ivo Bellin Salarin

unread,
Jan 29, 2015, 11:38:44 AM1/29/15
to jenkin...@googlegroups.com

Hello everybody,

I've started developing a custom project type.

This project type should include a certain number of default builders and publishers, with a set of default parameters for each. The user choice should be limited to the source control manager source.

I've taken an existing project type (mvn), which doesn't match my needs, and I'm exploring it. But my time is not enough: this project type code base is huge.

Do you know an existing project type, whose code base is small, which matches my needs ? I will fork its code.

Thanks in advance four your time and experience.
Ivo

Jesse Glick

unread,
Jan 29, 2015, 12:39:06 PM1/29/15
to Jenkins Dev
On Thu, Jan 29, 2015 at 11:38 AM, Ivo Bellin Salarin
<ivo.bell...@gmail.com> wrote:
> I've started developing a custom project type.
> […]
> Do you know an existing project type, whose code base is small, which matches my needs?

I am not aware of one offhand. Adding a new project type is a
significant endeavour. But you can check:

https://github.com/search?type=Code&q=user%3Ajenkinsci+%22extends+AbstractProjectDescriptor%22

FYI, the Templates plugin in Jenkins Enterprise exists for precisely
this use case (so far as I follow your description). There are OSS
plugins which also tackle the general problem of avoiding repetition
of configuration, though none (AFAIK) that do so in the same way.

Ivo Bellin Salarin

unread,
Jan 30, 2015, 9:59:52 AM1/30/15
to Jenkins Dev
Thanks very much.

I have been able to create my project template, at a certain degree of satisfaction.

I have had to stop my implementation when I started to get errors during test execution (concerning incompatible Guava versions brought by the plugins over which my project type depends). I don't know how to bypass this step. I will continue my quest next week ;-).

Have a good week end,
Ivo

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr2coDq8NjMtbcNfYCpLFJh3czGG5_03jWWp3Z1NeEegmA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages