Jenkins is an extendable open source continuous integration server

learn more… | top users | synonyms

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

How to show jenkins user's groups?

I'm trying to configure Jenkins with various permissions for different groups. I recall pulling up a page that displayed the logged in user's group memberships but I can't find it again. Does anyone ...
2
votes
2answers
1k 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
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 ...
2
votes
1answer
13k views

jenkins fails to connect to git repository

I can't configure the git repository url in a way, that Jenkins could access it. under "Project > Configure > Source Code Management" I set the Repository URL to ...
2
votes
1answer
3k views

Why might the Jenkins user not have permission to access the Docker unix socket?

I've added the jenkins user to the docker group thinking that it would allow Jenkins jobs to run Docker commands. If I switch to the jenkins user, I can verify it works (manually): ubuntu@hostname:~$ ...
2
votes
1answer
500 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
742 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
903 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
4k 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
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
2answers
9k 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 ...
2
votes
1answer
5k 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 ...
2
votes
1answer
810 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
1k 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
796 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
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
2k 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
327 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
0answers
167 views

Migrate latest stable HUDSON to latest stable LTS JENKINS

I am having issues migrating a HUDSON server with several jobs to JENKINS Jenkins claim you can upgrade easily from hudson but also mention it is only for version 1.395 or less ...
2
votes
1answer
938 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
584 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
2answers
13k 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
0answers
496 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
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 ...
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
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 ...
1
vote
1answer
1k 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
689 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
2k 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
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 ...
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 ...
1
vote
3answers
189 views

Integrate Amazon Elastic Container Registry with Jenkins

I'm trying to integrate Amazon's new Elastic Container Registry (ECR) with my Jenkins build service. I'm using the Cloudbees Docker Build & Publish plugin to build container images and publish ...
1
vote
1answer
55 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 ...
1
vote
1answer
1k 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
267 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
943 views

Kill process that keeps restarting itself

I need some advice on how to completely kill the Jenkins process. It keeps restarting itself. On Mac OSX. $ps -eaf 216 1143 1 0 0:01.65 ?? 0:04.03 /usr/bin/java -jar ...
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
2answers
8k 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

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
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
31 views

Gerrit Jenkins trigger plugin

According to this site: https://wiki.jenkins-ci.org/display/JENKINS/Gerrit+Trigger and section Trigger Configuration with subsection Comment Added i'm a little confused, because seems like trigger ...
1
vote
2answers
526 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
446 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
213 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 ...