Jenkins is an extendable open source continuous integration server

learn more… | top users | synonyms

2
votes
1answer
443 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
669 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
1answer
823 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 ...
2
votes
1answer
3k 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
3k 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 ...
2
votes
2answers
3k 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
30 views

How leave Jenkins running remotely on the server? [duplicate]

I am running as follows Jenkins on my server: $> labes@labes-jenkins:~/jenkins$ java -jar jenkins-1.622.war But when I unplug my machine the application of jenkins goes down, as I do to get the ...
2
votes
1answer
611 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
826 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
2answers
652 views

bulk size text parameters in jenkins report error

I have a build with a text parameters in Jenkins, when I input big data into text area and try to build, it comes [TEST-save_txt_to_file] $ /bin/sh -xe /tmp/hudson3834163952953567847.sh FATAL: ...
2
votes
1answer
9k 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
10k 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
1k 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
36 views

Jenkins CI Master-Slave setup with docker for slave server

So I have setup up two Ubuntu AWS Instances (a small t2.medium and a big r3.large). The t2.medium has Jenkins CI installed on it and the r3.large has docker engine installed on it. The intention here ...
2
votes
1answer
671 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
467 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
416 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
3k 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
1answer
982 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
958 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
816 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
2answers
3k 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
3answers
209 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
1answer
563 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
4answers
2k 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
2answers
8k 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
2answers
188 views

how to configure jenkins via chefzero vagrant provisioner

using the jenkins cookbook 2.2.2 ==> https://supermarket.chef.io/cookbooks/jenkins i can bring up jenkins in vagrant vm using chef_zero provisioner with chef.run_list = [ ...
1
vote
1answer
202 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
132 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
197 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
3k 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
352 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
310 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
1answer
134 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
398 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
7k 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

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
113 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
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 ...