Browsing articles tagged with "hudson - Admins Goodies"
Jul 26, 2012
tom

How can I modify a jenkins job configuration programatically without a restart?

Jenkins jobs have config.xml files that store the configuration of that job. I have a “job manager” job that modifies the configuration of other jobs, but I can’t seem to get it to acknowledge the new configuration without restarting Jenkins. The jenkins-cli.jar command line tool strangely doesn’t seem to have an option for this action. It is possible to edit the configuration through the web interface, and have that save/acknowledged without a restart, so it [...]

Continue Reading »
Jul 12, 2012
tom

Hudson installation proxy failed

I have a fresh installation of Hudson, default directories and all that. I have been following This Guide I have followed what it said, up to the actual 000-default modification. I’m sort of stuck on this part. This is what I have as my 000-default file: <VirtualHost *:80> DocumentRoot /var/www ServerName name ServerAlias name <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all </Directory> [...]

Continue Reading »
Feb 7, 2012
tom

Running Hudson builds with a lower process priority

At my office we have an older server running Hudson (1.395) and a collection of other things (JIRA and SVN being the important two). When Husdon is running builds, the slowdown on the server is very noticeable. I’ve been trying to find a way to re-nice the build processes that Hudson kicks off (we use maven). There doesn’t seem to be an option for this. I don’t want the copy of Tomcat Hudson is running [...]

Continue Reading »
Aug 23, 2011
tom

Hudson fails to start in tomcat5

Hudson is a continuous integration engine that runs as a Java Servlet in tomcat. https://hudson.dev.java.net/ I have Tomcat 5.5 successfully installed on my CentOS 5.3 system. I can see and interact with it on port 8080. I can upload the hudson.war file which reports success and appears to unpack everything correctly into the webapps directory. However, when I attempt to start the hudson application from the tomcat web application manager page it fails reporting “FAIL [...]

Continue Reading »
Aug 21, 2011
tom

Deploy Rails app from Hudson

I’m using hudson as my CI and it works great, builds run their tests, code metrics, all that good stuff. But at the moment, that’s it, no automated deployment, I have to manually do that after. I haven’t found any sort of capistrano plugin for hudson and I can’t even see where I can just run my cap deploy after a successful build in Hudson. Does anyone have any idea what I need in order [...]

Continue Reading »
Aug 20, 2011
tom

Hudson plugin problem

I’ve created almost the same plugin as JobTypeColumn. There is only one difference – it shows job description instead of job type. But after i can’t add this column to my list view. I have an NullPointerException after i edited my config.xml manually. java.lang.NullPointerException at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:626) at hudson.util.DescribableList.rebuildHetero(DescribableList.java:164) at hudson.model.ListView.submit(ListView.java:262) at hudson.model.View.doConfigSubmit(View.java:484) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:185) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:101) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:54) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:74) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at [...]

Continue Reading »
Aug 20, 2011
tom

Two Hudson Master on the same Windows Server

I want to setup two Hudson Master on the same Hardware. This will make administering Hudson easier, since both servers are used by two different (and independent) teams. So far I tried to install one server as a service. I verified the installation and it is running ok. I than copied the installation into another path and changed the service information (different service Name and description) and the httpPort. I then create the service, once [...]

Continue Reading »
Aug 20, 2011
tom

Hudson deploy specific git revision

I’m using hudson to auto-deploy my Rails app to heroku. In my main build job I pull from a Git repo (hosted using gitosis on the same machine), master branch with the following: URL of repository: /home/git/repositories/my_app.git Name of repository: origin Refspec: +refs/heads/master:refs/remotes/origin/master Branches to build: master Then, assuming all tests pass, I want to kick off a new build that is the deploy to Heroku. I can’t however figure out how to get that [...]

Continue Reading »
Aug 19, 2011
tom

Hudson on debian lenny

I installed Hudson deamon on one server (running on debian lenny testing) some time ago. All was working until I perform an upgrade. At this time Hudson isn’t accessible at port 8080 (which is the default port used). I have looked for iptables problems, however port 8080 is open in INPUT and OUTPUT. Configuration file in /etc/default/hudson seems okay, I haven’t touch it. And if I do a ps aux | grep hudson, hudson deamon [...]

Continue Reading »
Aug 17, 2011
tom

How to allow Hudson build URL through Nginx auth_basic?

I have Hudson running and made available to the world via nginx. I have protected Hudson with nginx’s auth_basic and that works great. The trouble is, I want to allow unauthenticated requests to the build URL, i.e. /job/<job_name>/build. Currently I have this in my nginx conf: upstream hudson { server 127.0.0.1:8888; }server { server_name ci.myurl.com; root /var/lib/hudson; location / { proxy_pass http://hudson/; auth_basic “Super secret stuff”; auth_basic_user_file /var/opt/hudson/htpasswd; } location ~ /build { auth_basic off; [...]

Continue Reading »
Pages:1234»