Jenkins is an extendable open source continuous integration server

learn more… | top users | synonyms

2
votes
1answer
460 views

Permissions for Jenkins to allow post-receive hooks, yet block anonymous users

I'm trying to disable Anonymous access to our Jenkins installation, but still allow Codebase Git to perform post-receive hooks to post to Jenkins, to allow it to trigger a build. We're using ...
2
votes
2answers
675 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
6k views

How can I get Jenkins to execute a script that it pulled from Git?

I am using Jenkins to trigger and manage a series of import jobs. I want to put my import script in Github, and when Jenkins builds the job, it should (a) pull that version controlled script out of ...
2
votes
2answers
8k 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 ...
2
votes
1answer
898 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
1k 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
1k 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
2k 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
1answer
417 views

Make Jenkins use a subdomain without 8080 port behind apache2

I’m failing at redirecting my Jenkins to use my subdomain (build.core-network.us) and not require :8080 port slapped behind it. I’m on Debian Wheezy. I use Apache (proxy and proxy_http are ...
2
votes
2answers
2k 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
373 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
344 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
1k 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
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
3answers
1k 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 ...
1
vote
2answers
5k views

Best practices to avoid Jenkins error: sudo: no tty present and no askpass program specified

When running any sudo command from Jenkins I get the following error: sudo: no tty present and no askpass program specified I understand that I can solve this by adding a NOPASSWD entry to my ...
1
vote
1answer
766 views

Use Master/Slave Jenkins Server vs maintaining 3 separate servers? [closed]

Background: I'm a SW developer who has some experience configuring continuous integration solutions, but I am not very familiar with the pluses and minuses of certain continuous integration ...
1
vote
1answer
1k views

what would be a better practice instead of chmod g+r /etc/shadow so I can use Unix user/group database for Jenkins authentication?

I don't want to run Jenkins as root, nor giving public access (or even group access) to /etc/shadow seems to a good idea. as suggested by "Manage Jenkins" when selecting Linux user/group database: ...
1
vote
2answers
1k 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
vote
2answers
796 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
563 views

Jenkins pulling from Bonobo Git Server

I have installed Jenkins Git plugin for SCM on Jenkins Bonobo Git Server To configure Jenkins to build from Git I type in url, which is on my local network ...
1
vote
1answer
499 views

runit does not kill process on sv stop or sv reload

i am running a headless selenium process along a jenkins server on an AMI linux box, all managed by runit. the problem is that issuing "sv stop selenium" or "sv reload selenium" do not term or kill ...
1
vote
3answers
158 views

Zero pad BUILD_DISPLAY_NAME

How can I modify the BUILD_DISPLAY_NAME so that is the build number but zero padded? For example, if Jenkins build number is 54, I would like the name to be 00054.
1
vote
2answers
6k views

Jenkins: Accessed denied after turning on global security. How to revert?

Need help figuring this one out. How can I fix this issue? I think I enabled global security and saw this error immediately. (while accessing localhost:8080 I get the following...) A problem ...
1
vote
4answers
1k views

Start-BitsTransfer Works when triggered manually from powershell but not using a windows service

I'm using BITS to transfer file from one windows 2008 R2 server to the other. When I run the command manually from powershell or regular command line it works perfectly. Now when I use the same ...
1
vote
1answer
2k 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 ...
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
1answer
739 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
7k 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
1k 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
1answer
87 views

Jenkins - how can I fetch information about last successfull builds for all jobs in pipeline?

We can get the list of all jobs with their current state through this API call: /view/<pipeline-name>/api/json Also, we can get data on the last completed build of any particular job: ...
1
vote
1answer
38 views

iptables can't NAT multiple IP addresses

I have a server with two network adaptors: eth0 and eth1. This server is running two distinct https webservers: One is listening on eth0 (172.29.49.112:8443) The other is listening on eth1 ...
1
vote
1answer
62 views

Jenkins hangs when trying to start Selenium Server

I am trying to run a test suite using Jenkins and to start the Selenium Server. In the job configuration, as a build step I have included: When the command is executed, Jenkins hangs at a certain ...
1
vote
1answer
784 views

Can Jenkins run a shell script located outside of the Jenkins workspace?

Can Jenkins run a shell script located outside of the Jenkins workspace? I am wondering if I can get Jenkins to run scripts outside of the Jenkins workspace that are not sourced within any kind of ...
1
vote
2answers
224 views

Scripting VMWare ESXi from a linux server

I’m attempting to use the VMWare command line interface to mount a datastore ISO file in the CD/DVD drive of a virtual machine. An entry elsewhere on serverfault tells me that ‘vmware-cmd blabla.vmx ...
1
vote
1answer
229 views

Stop Jenkins from modifying known_hosts

I have a Jenkins installation in CentOS 6 where the known hosts file, /var/lib/jenkins/.ssh/known_hosts, is under configuration management. It contains, for instance, a key to a source control host ...
1
vote
2answers
2k views

Jenkins - Source Code Management, credential error

I have a repo on Bitbucket I'm trying to connect to my Jenkins instance. Not taking the SSH key approach here but plain id/password since communications will take place in SSL. (1) I double checked ...
1
vote
1answer
104 views

Monit fails Jenkins HTTP test when Jenkins is on subdirectory

I am using Monit to monitor all of my services. The Jenkins process fails its HTTP test when Jenkins has the --prefix=/ci that I need to run it behind Apache. Is there any way to make Monit search ...
1
vote
1answer
470 views

Can Jenkins CI be monitored with supervisor?

I'm running Jenkins CI on an Ubuntu EC2 micro instance (it's the only thing running). Every so often, OOM killer strikes, which is a real pain (I've already configured jenkins memory usage to a bare ...
1
vote
1answer
349 views

SVN Clients on Windows Server 2008 R2 freeze while attempting to run update/checkout

Here's my setup: I'm running Jenkins as a CI build server on Windows Server 2008 R2 VM. My SVN server is v.1.6.[something] on a Linux server (I'm pretty sure it's CentOS, but I don't know the ...
1
vote
2answers
6k 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
2k views

Running Jenkins standalone vs within Tomcat

What things should be considered when deciding between running Jenkins standalone or within Tomcat? We would prefer to not have to use Tomcat because there's no other applications on this server ...
1
vote
1answer
1k 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
102 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
897 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
849 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
205 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
1k 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
484 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
0answers
13 views

one login for jenkins and auto login to SVN url in jenkins

I have a Jenkins job and I restricted access to user only to build an read. When we create a job we will give login credentials to SVN and dependency path URL's like Nexus etc. When I create a job I ...