Re: Change visual interface of jenkins with java

2014-02-12 Thread Stefan Bauer
Hallo Stephen,

I'm done with my first adventure to create a new view and to change it's 
tabs (text or colour). But now I don't know how to change the content of my 
view. For example I want to change the colomns and their entries and create 
my own matrix For this purpose, their is certainly another jelly file. 
But where can I find it?

Best regards
Stefan

Am Donnerstag, 9. Januar 2014 14:32:26 UTC+1 schrieb Stefan Bauer:

 Hello Stephen,

 so I will learn about creating a new Plugin and the basics first and then 
 I will follow your advice! Lets see how far I get :)
 My feedback follows in a few days.

 Thanks for that! :-)

 Best regards
 Stefan 



 Am Donnerstag, 9. Januar 2014 11:05:34 UTC+1 schrieb Stephen Connolly:

 What you want to do is create an alternative implementation of the View 
 extension point. You can do that from a plugin and then create a new view 
 at the root level of jenkins. Once you have such a view you can then change 
 the default view of your root to be your newly created view.

 See any of the dashboard plugins for examples of how to do this.

 Views will need some page content... this means writing that in either 
 jelly or groovy... the groovy syntax is claimed to be easier to use with 
 IDE autocompletion, but you are one step further away from the raw HTML 
 generation, so it can be more difficult to control the exact HTML that gets 
 generated. The jelly syntax can be a right pain in the bum but my personal 
 experience is that I end up cursing it ever so slightly less than the 
 groovy syntax, so I tend to use the jelly engine (also I find that for 
 critical performance, the jelly engine is anywhere from slightly faster to 
 significantly faster... but KK keeps trying to convince me otherwise ;-) )


 On 9 January 2014 09:55, Stefan Bauer stefanb...@gmail.com wrote:

 Hallo,

 I want to change the first page of jenkins (table with all jobs ) in 
 eclipse with java. So, I want to develop a new/own visual interface.
 The settings of my IDE is done, so I could start with the coding... But 
 I don't know where...

 My questions are:

 1.) Where, i.e. in which package, can I find the code for the visual 
 interface?
 2.) After the changing, is it enough to copy them on my jenkins server, 
 or is it necessary to install jenkins new?
 3.) Is there a tutorial for this?

 Thanks for help!

 Stefan

 -- 
 You received this message because you are subscribed to the Google 
 Groups Jenkins Users group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to jenkinsci-use...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Change visual interface of jenkins with java

2014-01-09 Thread Stephen Connolly
What you want to do is create an alternative implementation of the View
extension point. You can do that from a plugin and then create a new view
at the root level of jenkins. Once you have such a view you can then change
the default view of your root to be your newly created view.

See any of the dashboard plugins for examples of how to do this.

Views will need some page content... this means writing that in either
jelly or groovy... the groovy syntax is claimed to be easier to use with
IDE autocompletion, but you are one step further away from the raw HTML
generation, so it can be more difficult to control the exact HTML that gets
generated. The jelly syntax can be a right pain in the bum but my personal
experience is that I end up cursing it ever so slightly less than the
groovy syntax, so I tend to use the jelly engine (also I find that for
critical performance, the jelly engine is anywhere from slightly faster to
significantly faster... but KK keeps trying to convince me otherwise ;-) )


On 9 January 2014 09:55, Stefan Bauer stefanbauer...@gmail.com wrote:

 Hallo,

 I want to change the first page of jenkins (table with all jobs ) in
 eclipse with java. So, I want to develop a new/own visual interface.
 The settings of my IDE is done, so I could start with the coding... But I
 don't know where...

 My questions are:

 1.) Where, i.e. in which package, can I find the code for the visual
 interface?
 2.) After the changing, is it enough to copy them on my jenkins server, or
 is it necessary to install jenkins new?
 3.) Is there a tutorial for this?

 Thanks for help!

 Stefan

 --
 You received this message because you are subscribed to the Google Groups
 Jenkins Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Change visual interface of jenkins with java

2014-01-09 Thread Stefan Bauer
Hello Stephen,

so I will learn about creating a new Plugin and the basics first and then I 
will follow your advice! Lets see how far I get :)
My feedback follows in a few days.

Thanks for that! :-)

Best regards
Stefan 



Am Donnerstag, 9. Januar 2014 11:05:34 UTC+1 schrieb Stephen Connolly:

 What you want to do is create an alternative implementation of the View 
 extension point. You can do that from a plugin and then create a new view 
 at the root level of jenkins. Once you have such a view you can then change 
 the default view of your root to be your newly created view.

 See any of the dashboard plugins for examples of how to do this.

 Views will need some page content... this means writing that in either 
 jelly or groovy... the groovy syntax is claimed to be easier to use with 
 IDE autocompletion, but you are one step further away from the raw HTML 
 generation, so it can be more difficult to control the exact HTML that gets 
 generated. The jelly syntax can be a right pain in the bum but my personal 
 experience is that I end up cursing it ever so slightly less than the 
 groovy syntax, so I tend to use the jelly engine (also I find that for 
 critical performance, the jelly engine is anywhere from slightly faster to 
 significantly faster... but KK keeps trying to convince me otherwise ;-) )


 On 9 January 2014 09:55, Stefan Bauer stefanb...@gmail.com 
 javascript:wrote:

 Hallo,

 I want to change the first page of jenkins (table with all jobs ) in 
 eclipse with java. So, I want to develop a new/own visual interface.
 The settings of my IDE is done, so I could start with the coding... But I 
 don't know where...

 My questions are:

 1.) Where, i.e. in which package, can I find the code for the visual 
 interface?
 2.) After the changing, is it enough to copy them on my jenkins server, 
 or is it necessary to install jenkins new?
 3.) Is there a tutorial for this?

 Thanks for help!

 Stefan

 -- 
 You received this message because you are subscribed to the Google Groups 
 Jenkins Users group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to jenkinsci-use...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.