Jenkins is an extendable open source continuous integration server
10
votes
3answers
8k 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 ...
10
votes
2answers
2k 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
4answers
7k 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 ...
4
votes
1answer
2k 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
3answers
2k 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 ...
4
votes
2answers
588 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
2answers
3k 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 ...
4
votes
1answer
551 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
2answers
522 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
1answer
981 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
670 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
128 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
0answers
626 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
1answer
412 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 ...
3
votes
1answer
2k 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 ...
2
votes
3answers
332 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
3answers
3k 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, ...
2
votes
1answer
202 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
2answers
993 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
120 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 ...
2
votes
1answer
315 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
656 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
1answer
640 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
3answers
983 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
0answers
14 views
How to configure Jenkins to handle multiple public and private GitHub repositories?
I would like to have my private GitHub repositories monitored within my Jenkins continuous integration server.
There is absolutely no problem with public repositories due to GitHub's read-only ...
2
votes
0answers
106 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
0answers
61 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
0answers
634 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
325 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
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 ...
1
vote
2answers
71 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 ...
1
vote
2answers
132 views
Automating Jenkins module install
Is there any way to automate the install of modules within Jenkins? I'm trying to script/automate the install of my CI box as much as possible. I have just about everything working but at the moment ...
1
vote
1answer
1k 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, ...
1
vote
2answers
2k 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 ...
1
vote
3answers
504 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 ...
1
vote
2answers
177 views
ulimit not reflected for jenkins slave
Problem
Got java.io.IOException: Too many open files in solr indexing through jenkins.
Did some googling and found we have to set the ulimit for the box in where we are running the job.
So set the ...
1
vote
2answers
1k 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 ...
1
vote
1answer
278 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 ...
1
vote
1answer
479 views
Can I install Jenkins on an unpriviledged account?
I'm trying to test Jenkins and see how it would work for our project. The problem is, there are a lot of policies and restrictions about services on my work computer , and Jenkins fails to start with ...
1
vote
2answers
82 views
There is a time and/or date difference between the client and server
I am running a Build Job using Jenkins. The Jenkins job executes a command shown below that simply copies a test file from server A to server B. Jenkins resides on Server A and well as the command ...
1
vote
1answer
47 views
File Permissions - Service vs Console
We have just setup a new build Windows 2008 R2 server for our Jenkins CI system. Our issue appears to be related to file permissions being different depending on whether a process is a service, or a ...
1
vote
1answer
482 views
Setting up Jenkins and permission issues
I have set up Jenkins on my Mac lion however I am having my share of issues. I am able to connect and download the SVN file repository however as part of my shell build script, I have to do an SVN ...
1
vote
1answer
360 views
Installed Jenkins on a Debian Server and unable to connect on any port
I installed Jenkins on a Debian server and everything seems to have worked fine.
It says Jenkins is running and I am able to start and stop it using (/etc/init.d/jenkins start).
However I am unable ...
1
vote
1answer
88 views
how do you revert on svn before doing svn update in Bamboo C.I
How do you revert on svn before doing svn update in Bamboo C.I? I know that this is possible in Jenkins.
1
vote
2answers
437 views
allow anonymous access to the job's config.xml in Jenkins
I want to switch our Jenkins to server to a better machine. The new Jenkins is installed and configured, but without the jobs. I planned to use Jenkins job import plugin in order to import all the ...
1
vote
1answer
4k views
Jenkins/Hudson - LDAP group *lookup* does not work
I'm trying to get Jenkins to authenticate users via our active directory groups.
If I insert users they are correctly looked up.
If I insert group names, they are not found.
Edit: Through trial ...
1
vote
1answer
655 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 ...
1
vote
1answer
431 views
jenkins 1.417 versus Active Directory
I have a brand new installation of Jenkins 1.417 on Ubuntu 11.6, trying to talk to an active directory. I have the Active Directory plugin installed.
If I leave off the base DN and password, the ...
1
vote
1answer
662 views
Set up Jenkins to use Crowd's OpenID for SSO?
Been trying to get Jenkins to work with Crowd's OpenID server so we can use single sign-on like with our Atlassian stuff (the Jenkins Crowd plugin can't do SSO). Can't seem to find the proper OpenID ...
1
vote
0answers
171 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 ...