Jenkins is an extendable open source continuous integration server

learn more… | top users | synonyms

0
votes
1answer
64 views

Jenkins post-test action when test succeeds: pull changes and restart play server

I currently have a server, running a Play Framework instance. The source code of this Play website is located into a GitHub repository. When the repo gets changed, it pokes Jenkins to pull and test ...
1
vote
1answer
3k views

Apache ReverseProxy 502 to local jenkins process

I have apache listening on port 443 running https and performing a ProxyPass back to a standalone jenkins process on the same server. The bulk of the time, this works fine, but it often produces a ...
1
vote
1answer
3k views

How to configure Jenkins deployment path on Ubuntu?

With default Ubuntu/Debian installation of Jenkins, is there an easy way to change the deployment path? I'd like Jenkins to be available somewhere like http://localhost:8090/foobar I'm looking for a ...
3
votes
1answer
2k 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 ...
8
votes
1answer
9k 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 ...
0
votes
2answers
621 views

Jenkins SVN checkout borks new files

I am running a Jenkins CI server which polls an SVN server and checks out the (Maven) project and builds it. We have recently changed the build server and I set up Jenkins afresh with the few ...
1
vote
1answer
130 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 ...
2
votes
0answers
525 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 ...
0
votes
1answer
576 views

Perl script which returns multiple exit codes

I have a Perl script that executes another Perl script inside it: #!/usr/bin/perl use strict; use warnings; use Getopt::Long qw(:config no_ignore_case bundling_override); no warnings 'uninitialized'; ...
2
votes
2answers
2k views

How can you add a command line test to Jenkins that reads the exit code?

I want to add a command line script to Jenkins as part of the build process. This command line script will exit with an error code of 0 if things where successful or 666 if it fails. I wish to stop ...
-1
votes
1answer
683 views

Check_mk check for perl plugin which is at check_mk_agent side

I have one perl script I want to use it as a nagios plugin. Here is the github location for this script https://github.com/MangeshBiradar/Check_mk/blob/master/check_jenkins_jobs.pl I want to use this ...
4
votes
1answer
797 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 ...
0
votes
1answer
2k views

gitlab push to master jenkins trigger

I have jenkins and gitlab set up and working. I am using gitlab as the version control system for our puppet environment. What I would like to achieve is when I push changes from a git client to the ...
5
votes
5answers
8k 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 ...
2
votes
1answer
2k 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 ...
0
votes
1answer
1k views

How do you grant Sonar access to Jira through Crowd?

My Jenkins build calls a Sonar task that pulls from Jira the results of a saved filter. The problem I have is that Sonar's request is always denied. I have a fairly complex cluster of machines (Jira ...
3
votes
2answers
1k 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 ...
3
votes
3answers
2k 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 ...
1
vote
2answers
1k 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 ...
0
votes
3answers
3k views

Running a command through a tty without commenting out “requiretty”

I'm running the latest version of Jenkins on CentOS. In my Jenkins job, I can run post build steps, and included this command, sudo /bin/rm /usr/java/jboss/server/default/deploy/myclient-1.0.war ...
0
votes
2answers
910 views

Configuring jenkins with bitbucket error

I've got an ssh key in ~/.ssh/id_rsa.pub when I login as the jenkins user. I've imported this into bitbucket correctly and it has accepted the key. When I try to do a git clone (to the correct URL) ...
0
votes
1answer
63 views

Apache2 require login before presenting page of Jenkins

I'm using Apache2 to proxy Jenkins to port 80 on my server. The problem is, this server is open to the world so I want to set some sort of authentication so you have to login to get to the Jenkins ...
1
vote
0answers
1k views

Jenkins - Project based authorization + LDAP

Does anybody know if the Project-based Matrix Authorization Strategy is supposed to work with LDAP integration? There are several closed bug reports on the Jenkins Jira site that say users don't need ...
-1
votes
1answer
169 views

why did i need to stop java software? [closed]

i am on Debian Squeeze, 4G of Ram, 1G of Swap, CPU i3 3.07GHz. I used to use the following java softwares: jenkins elasticsearch Problem was their process was too greedy about CPU, in the top ...
3
votes
2answers
15k views

Permission denied when using Jenkins to run commands

I'm using a Jenkins job to execute some shell commands where directories and files need to be created but I get a Permission Denied error. I'm running Jenkins as a daemon (followed this tutorial from ...
4
votes
5answers
7k 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 ...
9
votes
3answers
8k 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 ...
4
votes
1answer
4k 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?
4
votes
2answers
2k 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 ...
0
votes
1answer
827 views

Jenkins CI fails to initialise

I've just installed Jenkins-CI on Ubuntu 11.10 as according to the instructions found here, However the service fails to start. The error log shows this: Running from: /usr/share/jenkins/jenkins.war ...
0
votes
1answer
526 views

How to get to tomcat root after Jenkins install

I was able to successfully install TomCat on my MacMini. http://[localhost]:8080/ took me to the Tomcat home page. However after I installed Jenkins via the installer (outside of TomCat), it appears ...
0
votes
1answer
365 views

fail to install jenkins with puppet

i'm on a ubuntu machine when i fail to install jenkins with puppet with the following error: /etc/puppet/modules/jenkins/manifests# puppet agent --no-daemonize --verbose notice: Starting Puppet ...
1
vote
2answers
1k views

Why is Jenkins not pulling in a browser?

I installed Jenkins on my debian server. It is set on port 8080 and when I try connecting to it nothing happens. I know it is running because when I do: root@jini01:/etc/default# /etc/init.d/jenkins ...
1
vote
1answer
1k 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
1k 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 ...
3
votes
4answers
3k 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 ...
-1
votes
2answers
2k views

Installing Jenkins on Arch Linux?

I have done some googling and I cannot figure out how to install Jenkins on Arch Linux. Can anyone give me some step by step instructions? I have a webserver running already using Nginx, With php-fpm ...
2
votes
1answer
532 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 ...
3
votes
1answer
2k 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 ...
1
vote
1answer
281 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.
2
votes
2answers
4k 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 ...
5
votes
1answer
9k 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 ...
27
votes
2answers
30k 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 ...
5
votes
1answer
2k 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 ...
1
vote
1answer
2k views

Jenkins (JVM) crashes after few minutes after start

Host OS: OpenVZ host Guest OS: Debian 6.0 minimal Java: java6 sun Servlet container: Winstone Jenkins for debian: http://pkg.jenkins-ci.org/debian/ Jenkins version: 1.449 uname -a: Linux hostname ...
1
vote
3answers
2k views

Pretested commit with Jenkins?

I got a request from the man upstairs to setup Jenkins for Pretested commit (through a build at Jenkins, if all unit tests and other pass then commit it and build a dist). We're using svn here. Is ...
4
votes
3answers
7k 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, ...
0
votes
1answer
1k views

Bash script won't release for Jenkins when calling subscript

I have a script that calls a subscript and attempts to release/disown this script so that Jenkins calling the script can complete successfully. It seems to release the script on the command line, so ...
0
votes
1answer
207 views

rvm for Jenkins under Tomcat 6

I've got Jenkins running under Tomcat 6. It's running as user tomcat6, with a home directory of /usr/share/tomcat6. I would like to install rvm for this user so I can use it for testing, but I can't ...
0
votes
1answer
389 views

Jenkins VM Crashed, now there are no jobs

The VM that was running Jenkins for me crashed, and when I rebooted it there were no Jobs on Jenkins. These weren't terribly complicated scripts, but it did take several hours to write is there any ...