Where and How does Hudson/Jenkins store data?

I installed Jenkins on Ubuntu 10.10 and I could not find any mention of setting up database for data persistance. So the first question is where does the data get stored, and secondly, can we setup Hudson / Jenkins with mySQL ? or similar databases? Answer Hudson/Jenkins doesn’t quite work that way. It stores configurations … Read more

How can I get Jenkins to stop listening for remote connections?

I have Jenkins sitting behind Nginx, with Nginx taking care of authentication, but Jenkins is still listening on port 8080 externally, so by accessing the box on port 8080 people can bypass Nginx. How can I tell it to stop listening for remote connections and just accept connections locally? It looks like it might be … Read more

How to get all Jenkins job details for last 7 days and send that data over mail

I am new on Jenkins and I wants powershell script to get the details of all jobs of Jenkins for last 15 days. I will send that details of Jenkin’s jobs over mail to my Manager. I will be very thankful if any one resolve my Query. I have tried below script. Hour=24;. Minute=60;. Second=60; … Read more

Is it possible to allow jenkins to access the files that only root or some specific programs have access to?

What I’m basically trying to do is allow jenkins access my android-sdk-linux folder and all the sub-directories. My boss does not want to change permissions on the folder himself. I am supposed to do it during the build process. I have seen some examples that run some commands in the execute shell during the build … Read more

Odd SVN Checkout failures occur frequenctly on VMWare virtual machines

We’ve recently been experiencing seemingly random SVN checkout failures on our Hudson build system. We are occasionally receiving the following SVN error when our Hudson build jobs checkout source via the Hudson Subversion plug-in (which uses svn kit): ERROR: Failed to check out http://server/svnroot/trunk org.tmatesoft.svn.core.SVNException: svn: Processing REPORT request response failed: XML document structures must … Read more

How to redirect output from schtasks taskeng.exe

We’re running Sikuli app from a CI tool Hudson. A scheduled task is configured on our windows server 2008, named test When Hudson job kicks off, it triggered the command schtasks /run /tn test. A windows shell pops up by taskeng.exe and as Sikuli app executes, the output is shown on the windows shell. How … Read more

Jenkins failed to locate Cygwin

my Jenkins job fails as it gives this error message: hudson.util.IOException2: Failed to locate Cygwin installation. Is Cygwin installed? at hudson.plugins.cygpath.CygpathLauncherDecorator$GetCygpathTask.getCygwinRoot(CygpathLauncherDecorator.java:138) at hudson.plugins.cygpath.CygpathLauncherDecorator$GetCygpathTask.call(CygpathLauncherDecorator.java:142) at hudson.plugins.cygpath.CygpathLauncherDecorator$GetCygpathTask.call(CygpathLauncherDecorator.java:112) at hudson.remoting.LocalChannel.call(LocalChannel.java:45) at hudson.plugins.cygpath.CygpathLauncherDecorator$1.getCygpathExe(CygpathLauncherDecorator.java:104) at hudson.plugins.cygpath.CygpathLauncherDecorator$1.cygpath(CygpathLauncherDecorator.java:86) at hudson.plugins.cygpath.CygpathLauncherDecorator$1.launch(CygpathLauncherDecorator.java:65) at hudson.Launcher$ProcStarter.start(Launcher.java:381) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:97) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:66) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770) at hudson.model.Build$BuildExecution.build(Build.java:199) at hudson.model.Build$BuildExecution.doRun(Build.java:160) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:533) at hudson.model.Run.execute(Run.java:1759) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) … Read more

git fatal: pack has 1 unresolved delta (index-pack failed)

I have a VERY strange and not so covered issue with a specific Windows Build Server (Jenkins Slave). In Jenkins I have a Job that pulls the latest code from a specific branch. The actual command the git is trying to execute is: git fetch -t origin +refs/heads/*:refs/remotes/origin/* Before few hours, after working well for … Read more