Extend jenkins view: How to add jobs to a new column?

2014-02-16 Thread Stefan Bauer
Hello,

I want to extend Jenkins with Java, Jelly etc. ... 

I already have a new view and I know how to add a new column. But I don't 
know how to add jobs to it. 
How can I add jobs to a new column with code? 

Thanks for your help! :-)

Best Regards
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.


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: trigger local jenkins with github

2014-01-16 Thread Stefan Bauer
I got it,

after changing my private jenkins server to a public one I got the plugin 
to work. 

Thank you very much!! :-)



Best regards
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.


Change visual interface of jenkins with java

2014-01-09 Thread Stefan Bauer
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.


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.


trigger local jenkins with github

2014-01-08 Thread Stefan Bauer
Hello,

general is it possible to trigger a local jenkins job, when a push to 
github repositorie was made? Since about one month I work on this problem. 
At the moment I use the following plugins:

git
github
github oauth

I tried a lot of things out, but nothing worked :-(

I need help. PLEASE :-)

Best regards
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.


Re: trigger local jenkins with github

2014-01-08 Thread Stefan Bauer
)
at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
at 
org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:50)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
at 
hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
at winstone.RequestDispatcher.forward(RequestDispatcher.java:331)
at 
winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:227)
at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:701)
Caused by: java.lang.IllegalArgumentException: Not intended to be browsed 
interactively (must specify payload parameter)
at com.cloudbees.jenkins.GitHubWebHook.doIndex(GitHubWebHook.java:154)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:622)
at 
org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:288)
at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:151)
at 
org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:90)
at org.kohsuke.stapler.MetaClass$2.dispatch(MetaClass.java:156)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677)
... 60 more




Did I do something wrong or did I miss some settings? 

Thanks for your help!

Regards Stefan









Am Mittwoch, 8. Januar 2014 10:06:16 UTC+1 schrieb Stefan Bauer:

 Hello,

 general is it possible to trigger a local jenkins job, when a push to 
 github repositorie was made? Since about one month I work on this problem. 
 At the moment I use the following plugins:

 git
 github
 github oauth

 I tried a lot of things out, but nothing worked :-(

 I need help. PLEASE :-)

 Best regards
 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.


Github Hooks with private Jenkins

2013-11-25 Thread Stefan Bauer
Good Morning,

I have a question about Github Hooks. I will build a connection between 
Github and my private Jenkins with Hooks. So, if a commit to a repository 
on github is made, a job on my Jenkins Server should start automatically. I 
know there is a solution for public Jenkins server, but I need one for my 
private system. Can someone tell me if this is generally possible?

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.