Jenkins is an extendable open source continuous integration server

learn more… | top users | synonyms

13
votes
3answers
15k views

Jenkins: Use it with SSL / https

I have a Fedora server running Jenkins which I install via yum. Everything is okay, I can access it with http://ci.mydomain.com. But now, I want to access it with https://ci.mydomain.com, so the login ...
11
votes
4answers
14k views

How can I check the build status of a Jenkins build from the command line?

In trying to make doing the right thing easy, I'm looking for and making command line tools for our developers. I'm hoping to find a way that I can check the jenkins build status without switching to ...
11
votes
2answers
4k views

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. ...
7
votes
2answers
4k views

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 ...
6
votes
2answers
4k views

Tell Jenkins to run a specific project on a particular slave node

How do I tell Jenkins to run a specific project on a particular slave? I've set up a Jenkins master node, and a slave node that I want to use for staging an application. But I can't figure out how ...
6
votes
3answers
4k views

Mapping hudson to a subdomain through nginx proxying

I'm now trying to setup nginx as a reverse proxy for Hudson so it can be access on http://build.example.com directly. I've already installed Hudson on Tomcat and verified that I can access Hudson on ...
5
votes
1answer
3k views

How to manage groups and users in Jenkins

I'm trying to use role based security plugin in Jenkins, but i'm not sue i am using it right. I've decided to go with jenkin's own user database as a security realm instead of LDAP. i'm adding the ...
4
votes
1answer
3k views

Run shell scripts as root though Jenkins

I have a EC2 instance running. How can I run commands with sudo through Jenkins? When I try sudo touch /home/ec2-user/foo.bar, I get the following error: sudo: no tty present and no askpass program ...
4
votes
5answers
3k views

How to access Jenkins remotely on Ubuntu 12.04 server?

I have installed Jenkins and opened port 8080 on Ubuntu 12.04 server but still can't access Jenkins remotely. Below is the procedures I took. # Install Jenkins, enable UFW and open port 8080 sudo ...
4
votes
1answer
1k views

Allow anonymous user to only view job list without browsing workspace in Jenkins

We are running a Jenkins CI. Generally we would like to provide full access to authenticated users from particular group full-read access to anonymous users block anonymous users to access certain ...
4
votes
2answers
1k views

Optimal way to build and deploy a website as a .deb package

I've been battling with deploying (mainly PHP) websites as .deb files for some time and wonder if there's a better way than my rather convoluted method. My goal is continuous integration on my staging ...
4
votes
1answer
473 views

Jenkins won't serve with CA signed certificate

tl;dr Fixed I've been running a Jenkins instance for a while with a self signed certificate, which works fine except the hassle of having to create certificate validation exceptions in browsers. So ...
4
votes
1answer
956 views

What are the Jenkins/Hudson key files for?

After I have installed Jenkins (on Windows), the program folder contains, among others, two files: identity.key (28 lines) -----BEGIN RSA PRIVATE KEY----- MIIEow...... ... -----END RSA PRIVATE ...
4
votes
0answers
919 views

Triggering Jenkins build for merge request from GitLab web hook

I want Jenkins (1.561) to build merge (pull) requests submitted to GitLab (6.7.5), triggered by a merge request web hook. I have a parameterised build, and the Jenkins plugins "GitLab Merge Request ...
4
votes
1answer
878 views

ForwardAgent in Jenkins

I'm trying to enable ForwardAgent in the "Publish over SSH" Jenkins Plugin. This would allow jenkins to execute deployments, rsyncs and svn+ssh checkouts on remote servers. But there's no option for ...
4
votes
2answers
870 views

Jenkins Install, Service Start failure

Trying to install Jenkins as the sole administrator user on Windows 7, with UAC turned off, the following error appears: Nothing I have tried has been able to fix this, the system installed fine ...
3
votes
3answers
5k views

Jenkins CI - Cannot allocate memory

I tested jenkins-ci successfully on a ubuntu 10.4 (with vmware fusion) on my local computer. Now I want to install and use it on my virtual server at hosteurope. The basic installation was no problem, ...
3
votes
4answers
3k views

Set JENKINS_HOME in Tomcat7?

I'm trying to set up Jenkins in Tomcat7 on Ubuntu. I installed Tomcat7 and deployed jenkins.war, and I now see the Jenkins home page at http://myhost:8080/jenkins, but it's attempting to create the ...
3
votes
1answer
175 views

I would like Jenkins to fire a build when a patchset is uploaded or changed in Gerrit. How, exactly, do I configure this?

I am using Jenkins 1.557 to watch a Gerrit 2.8 instance for changes. I am using the following plugins: Git Plugin 2.1.0 Git Client Plugin 1.7.0 Gerrit Trigger 2.11.1 When I use "test connection" ...
3
votes
1answer
4k views

Which Java version should I run Jenkins with?

Reference: Jenkins Users :: Jenkins on Windows: Java + JRE (version) confusion Which Java version should I run Jenkins with (on Windows)? Should I use the included JRE of the Windows master? Should ...
3
votes
1answer
2k views

How to setup user groups based on Active Directory in Jenkins?

Is it possible to create user groups using Active Directory id's and then assign roles in Jenkins? Instead of using Jenkins default user name management?
3
votes
3answers
1k views

Installing Jenkins with Puppet fails to import GPG key

I'm trying to install Jenkins with Puppet using the manifests below. # init.pp class jenkins { include jenkins::install, jenkins::service } # service.pp class ...
3
votes
1answer
436 views

SSH 'connection reset' when attempting multiple simultaneous outbound connections to the same host

I have a script that executes a Rake remote task which executes once for each of two roles. Both roles are users on the same Vagrant instance. So essentially the task is opening two SSH connections ...
3
votes
1answer
1k views

Setting up Github post-receive webhook with private Jenkins and private repo

I'm trying to set up a private GitHub project to send a post-receive request to a private Jenkins instance to trigger a project build on branch push. Using latest Jenkins with the GitHub plugin. I ...
3
votes
0answers
327 views

Jenkins Linux Slave error: SEVERE: I/O error in channel channel

I am getting this error on all Linux servers try to start a Slave. The version isJenkins ver. 1.532.1. I didn't have this problem when I have another installation with Jenkins ver. 1.509.4. I've read ...
3
votes
0answers
973 views

Jenkins slave fails handshaking on windows

I have a win2k8 machine used as our CI master server (Jenkins) I have various other servers running as slaves The master is listening for slave connections on port 2000 SlaveA - can connect to ...
2
votes
2answers
550 views

How can I make Jenkins inaccessible to the outside world?

On a development server, I have installed the tool Jenkins for automated testing. This runs on port 8080. If I go to www.mysite.com:8080 I can see the command panel for this. I want to make this ...
2
votes
3answers
718 views

Apache as reverse-proxy for tomcat (running jenkins)

I have set up apache to work as a reverse proxy to tomcat that is running jenkins-CI. I can access the site from outside fine, except when I log in to jenkins, it redirects to my lan-hostname, and it ...
2
votes
2answers
2k views

Jenkins reports reverse proxy setup incorrect with Apache using virtual hosts with SNI

I'm setting up a Jenkins server, to run under Tomcat behind Apache. I'm using virtual hosts with SSL using SNI so I can access it at https://jenkins.example.com, and serve something else on, say, ...
2
votes
2answers
3k views

Jenkins (Windows Service) with Git over SSH

I'm having a hard time configuring Jenkins, running as a Windows Service, to connect to a git server (gitosis) and clone a repository. Jenkins is set to use the standard Git plugin. Everything is ...
2
votes
1answer
297 views

Seeking clean resolution for zombie who caused by git fetch / ubuntu motd

I have jenkins and gitosis running on the same [Ubuntu 10.04] server. Jenkins fetches git commits from a repo served by gitosis (also running on the same server). Many repos, actually, since there are ...
2
votes
1answer
466 views

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 ...
2
votes
2answers
396 views

Creating SSH key on Jenkins Master - Centos Yum Install

I have installed Jenkins on a Centos VM as I am looking at replacing Bamboo, I have it all up and running by following the install instructions. That went fine, I then wanted to spin up a Slave, I ...
2
votes
1answer
1k views

Jenkins Active Directory More Secure Authentication Method Required

While trying to activate security on a Windows 2008 R2 hosted Jenkins Version 1.514 with the Active Directory plugin version 1.33 I get the following error while trying to logon: INFO: Login attempt ...
2
votes
1answer
2k views

How to make Jenkins CI use Local time instead of UTC on debian squeeze

I have a Jenkins-ci installation on a debian squeeze. Current default time zone: 'America/Toronto' Local time is now: Mon Jul 9 16:00:57 EDT 2012. Universal Time is now: Mon Jul 9 20:00:57 ...
2
votes
2answers
2k views

Change standalone Jenkins default URL

Running Jenkins standalone (The WAR file, java -war ./jenkins.war or whatever the command is) listening on a non-standard port. I want to get NGINX to proxy from our HTTPS site /jenkins/ to this ...
2
votes
1answer
1k views

GUI Tests in Hudson (Jenkins) on Windows

I will try to keep this question simple. I've done much research on the topic, and haven't found any solution. GUI Tests fail when doing maven builds on Hudson (Jenkins). Hudson is running as a ...
2
votes
1answer
828 views

Jenkins/Hudson Can we monitor realtime result of external job from Console output?

I have some external jobs need to be monitoring from central Jenkins/Hudson server. Jenkins/Hudson just send job output after it finish. Some jobs run in very long time and we aren't sure it is ...
2
votes
2answers
367 views

Chef cookbook continuous deployment

I'm trying to integrate my chef workflow to my usual continuous integration/deployment workflows. I managed already to have a jenkins task which checks out the git repo and runs foodcritic but i ...
2
votes
1answer
513 views

Trigger only if build fails

I'm implementing a deployment/rollback procedure using Jenkins 1.430. I would like to configure the deployment and the rollback steps as 2 separate jobs so as to be triggered independently if needed. ...
2
votes
2answers
733 views

How to make Hudson write to remote disk?

I have a problem writing to a remote disk using Hudson. When I write in it manually, it works. The two computers implied: one is on Windows XP and the other is a Mac mini server. The disk that needs ...
2
votes
2answers
930 views

Got the error org.apache.commons.jelly.JellyTagException while starting jenkins

I tryed to start jenkins but got the error "org.apache.commons.jelly.JellyTagException: jar:file:/var/run/jenkins/war/WEB-INF/lib/jenkins-core-1.413.jar!/lib/layout/layout.jelly:130:53: ...
2
votes
3answers
1k views

How can I start a hudson job using Python?

I need to start a hudson job from python, and then wait for it to complete. This pages suggests a Python API, where can I find further information on this? ...
2
votes
2answers
857 views

Jenkins won't start

I'm using: Jenkins 1.541. Java JDK 7u45 (tried 64 and 32 bit versions). XAMPP 1.8.2 I have downloaded the default MSI installation from http://mirrors.jenkins-ci.org/windows/latest, and I have ...
2
votes
0answers
132 views

TeamCity (or Jenkins) with Cluster/Replicated servers

We use Team City 7 for Continuous Intergration. Sometimes I need to bring down the server for maintenance which stirs up complaints. Is anyone using a cluster for these types of servers where there ...
2
votes
0answers
664 views

“remote file operation failed” on remote UNIX slaves since upgrading to Jenkins 1.502

Since upgrading to Jenkins 1.502, any jobs using git on remote UNIX slaves launched by SSH fail with hudson.util.IOException2: remote file operation failed: /var/ciworkspaces/web/workspace/DFT.BA ...
2
votes
0answers
234 views

Simple SVN post-commit hook for Jenkins on Windows Server 2008

I have VisualSVN Server holding several repos with PHP applications on Windows Server 2008 machine. I need to figure out how to deploy PHP scripts to production machines (2 Windows servers + 1 ...
2
votes
1answer
932 views

Configuring Jenkins for running with BitBucket [closed]

I'm trying to setup Jenkins on my mac mini in order to pull my iOS project source code from BitBucket and build it automatically. I've already gone through the major well know problems generating the ...
2
votes
0answers
88 views

jenkins security settings for multi-tennacy

I am interested in Jenkins for systems administration. (We are not that interested in the building capabilities at this time, even though it is the main use for it) Its ability to chain jobs that ...
2
votes
1answer
2k views

Deploying to Tomcat root using Jenkins

Is there any way to deploy my Java application .war file at root on Tomcat 7 server, using the Deploy plugin for Jenkins? Currently the app gets deployed at http://server/foo/ if it comes in a file ...