Customize Jenkins UI and call configuration files

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Customize Jenkins UI and call configuration files

Salut
Hi All,

I installed jenkins-war file and deployed it in Tomcat server.
Application is up and running.

The current UI is in this following sequence, pulling out files from
repository, then build process., then notification emails...

Now i wanted to know how much i can customize this UI, say

1. I wanted to call a bath file before i check out files from
repository.
2. Need to send email next
3. Need to add some more fields in UI (say text boxes) wchich captures
information from users and pass those to as inputs for other batch
file.
4. Now, i need to check out files from repository.
5. Again send some notification emails.

Basically here i am trying to find how much this UI is configurable
and how much i can add my own features.
Reply | Threaded
Open this post in threaded view
|

Re: Customize Jenkins UI and call configuration files

Harish Kayarohanam
Hi ,
   If you are having so many customizations , you have to write your own plugin .
I have'nt written any plugin so far . But I ll start writing in a couple of days . Because I also need such customisation for my work.

To start with read about jelly . (Not much tutorials found in internet)
jelly is used by them to make UI. Best way is to downloaded source codes of plugin and analyse. 
I downloaded source codes of a few plugin's and I am going through how they have done .
I am have planned to write by have one already written plugin as base....

First it appeared to be nightmare , but slowly things are getting clear ....

You start this and ask me if u need help ... I ll try my level best to help u .


Thank You

Harish Kayarohanam
On Wed, Mar 28, 2012 at 3:21 PM, Salut <[hidden email]> wrote:
Hi All,

I installed jenkins-war file and deployed it in Tomcat server.
Application is up and running.

The current UI is in this following sequence, pulling out files from
repository, then build process., then notification emails...

Now i wanted to know how much i can customize this UI, say

1. I wanted to call a bath file before i check out files from
repository.
2. Need to send email next
3. Need to add some more fields in UI (say text boxes) wchich captures
information from users and pass those to as inputs for other batch
file.
4. Now, i need to check out files from repository.
5. Again send some notification emails.

Basically here i am trying to find how much this UI is configurable
and how much i can add my own features.

Reply | Threaded
Open this post in threaded view
|

Re: Customize Jenkins UI and call configuration files

Salut
Hi Harish,

Is it not possible to have a java web source by our own and extend the
UI/business logic on top of that?

Right now i have a direct .war file deployed. Rather , can i get
corresponding source code and add my UI components and logic?

On Mar 28, 3:06 pm, Harish Kayarohanam <[hidden email]> wrote:

> Hi ,
>    If you are having so many customizations , you have to write your own
> plugin .
> I have'nt written any plugin so far . But I ll start writing in a couple of
> days . Because I also need such customisation for my work.
>
> To start with read about jelly . (Not much tutorials found in internet)
> jelly is used by them to make UI. Best way is to downloaded source codes of
> plugin and analyse.
> I downloaded source codes of a few plugin's and I am going through how they
> have done .
> I am have planned to write by have one already written plugin as base....
>
> First it appeared to be nightmare , but slowly things are getting clear ....
>
> You start this and ask me if u need help ... I ll try my level best to help
> u .
>
> Thank You
>
> Harish Kayarohanam
> On Wed, Mar 28, 2012 at 3:21 PM, Salut <[hidden email]>wrote:
>
>
>
>
>
>
>
> > Hi All,
>
> > I installed jenkins-war file and deployed it in Tomcat server.
> > Application is up and running.
>
> > The current UI is in this following sequence, pulling out files from
> > repository, then build process., then notification emails...
>
> > Now i wanted to know how much i can customize this UI, say
>
> > 1. I wanted to call a bath file before i check out files from
> > repository.
> > 2. Need to send email next
> > 3. Need to add some more fields in UI (say text boxes) wchich captures
> > information from users and pass those to as inputs for other batch
> > file.
> > 4. Now, i need to check out files from repository.
> > 5. Again send some notification emails.
>
> > Basically here i am trying to find how much this UI is configurable
> > and how much i can add my own features.
Reply | Threaded
Open this post in threaded view
|

Re: Customize Jenkins UI and call configuration files

Harish Kayarohanam
Hi,
  Sorry , was sleeping . Got up at 9.30 only .First of all i dont know if it is possible..Even if it is possible, I think ,that will be too difficult . because to make such changes you need to debug the whole jenkins code,(a lot is there) ,, that is far far difficult compared to debugging small plugin code and doing the same task ........I f you see the code you will find that there are ton's of jelly files ,,, to debug all and find one text box is damn diffcult .
whereas i can easily add a text box wherever i need , just by seeing  a reference plugin...

I dont know about the level of difficulty u will face , as u had been in software for 5 years . This is just my point of view ...even post this question in forums .

Thank You...

On Wed, Mar 28, 2012 at 4:57 PM, Salut <[hidden email]> wrote:
Hi Harish,

Is it not possible to have a java web source by our own and extend the
UI/business logic on top of that?

Right now i have a direct .war file deployed. Rather , can i get
corresponding source code and add my UI components and logic?

On Mar 28, 3:06 pm, Harish Kayarohanam <[hidden email]> wrote:
> Hi ,
>    If you are having so many customizations , you have to write your own
> plugin .
> I have'nt written any plugin so far . But I ll start writing in a couple of
> days . Because I also need such customisation for my work.
>
> To start with read about jelly . (Not much tutorials found in internet)
> jelly is used by them to make UI. Best way is to downloaded source codes of
> plugin and analyse.
> I downloaded source codes of a few plugin's and I am going through how they
> have done .
> I am have planned to write by have one already written plugin as base....
>
> First it appeared to be nightmare , but slowly things are getting clear ....
>
> You start this and ask me if u need help ... I ll try my level best to help
> u .
>
> Thank You
>
> Harish Kayarohanam
> On Wed, Mar 28, 2012 at 3:21 PM, Salut <[hidden email]>wrote:
>
>
>
>
>
>
>
> > Hi All,
>
> > I installed jenkins-war file and deployed it in Tomcat server.
> > Application is up and running.
>
> > The current UI is in this following sequence, pulling out files from
> > repository, then build process., then notification emails...
>
> > Now i wanted to know how much i can customize this UI, say
>
> > 1. I wanted to call a bath file before i check out files from
> > repository.
> > 2. Need to send email next
> > 3. Need to add some more fields in UI (say text boxes) wchich captures
> > information from users and pass those to as inputs for other batch
> > file.
> > 4. Now, i need to check out files from repository.
> > 5. Again send some notification emails.
>
> > Basically here i am trying to find how much this UI is configurable
> > and how much i can add my own features.

Reply | Threaded
Open this post in threaded view
|

Re: Customize Jenkins UI and call configuration files

Salut
In reply to this post by Salut
Hi all, any updates on this?

On Mar 28, 2:51 pm, Salut <[hidden email]> wrote:

> Hi All,
>
> I installed jenkins-war file and deployed it in Tomcat server.
> Application is up and running.
>
> The current UI is in this following sequence, pulling out files from
> repository, then build process., then notification emails...
>
> Now i wanted to know how much i cancustomizethis UI, say
>
> 1. I wanted to call a bath file before i check out files from
> repository.
> 2. Need to send email next
> 3. Need to add some more fields in UI (say text boxes) wchich captures
> information from users and pass those to as inputs for other batch
> file.
> 4. Now, i need to check out files from repository.
> 5. Again send some notification emails.
>
> Basically here i am trying to find how much this UI is configurable
> and how much i can add my own features.
JD
Reply | Threaded
Open this post in threaded view
|

Re: Customize Jenkins UI and call configuration files

JD
This post has NOT been accepted by the mailing list yet.
Hi...I am sure this is possible.Infact we have done that and created a new Jenkins.war which is customized for our jobs....u need to modify Jenkins code.You need debug the code and modify it.



Thanks