Jenkins is an extendable open source continuous integration server

learn more… | top users | synonyms

3
votes
2answers
16k 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 ...
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 ...
3
votes
1answer
466 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 ...
3
votes
1answer
2k views

How do I get a public ssh key on a docker jenkins image for git authentication?

I'm using Docker and I'm running a Jenkins image. The image I'm trying: https://github.com/orchardup/docker-jenkins I need to generate an ssh key pair so I may use it to authenticate to bitbucket. ...
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 ...
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 ...
2
votes
2answers
5k 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
10k 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
2k 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
4k 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
546 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
788 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
961 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
2answers
10k 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
117 views

How to use automatic Restart with Jenkins on Systemd

I have Jenkins running on a CentOS7 and it kind of crashes from time to time and I'd like to restart it automatically when this happens. Googleing a bit I've found that on Systemd you can use ...
2
votes
1answer
17 views

Something for Icinga like sensu-metrics-relay

I used to work with Sensu and I was using a plugin called sensu-metrics-relay so I could easily forward some metrics collected using a jenkins plugin called "Metrics Plugin" to graphite. Now I am ...
2
votes
2answers
3k views

executing RSYNC command in jenkins

Hello everyone so I'm trying to deploy my code to a remote server.. so far I've tried with Publish over SSH Plugin : But the problem is that Im unable to keep the files permissions Rsync command ...
2
votes
2answers
3k views

Jenkins and HTTPS: Cannot connect to server

We have a Subversion repository located on an https connection. I am able to connect to it locally (no proxy needed): $ svn ls --username=qazwart --password=swordfish \ ...
2
votes
1answer
5k 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
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 ...
2
votes
1answer
7k 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
916 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
895 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
2answers
17k 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
1answer
2k 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
0answers
14 views

Running Jenkins Slaves on old operating systems

I have a (quite old) Jenkins installation that I'd like to upgrade. Unfortunately, some jobs require to be built on an old operating system which cannot run Java 7 and hence cannot run the slave.jar ...
2
votes
1answer
404 views

msdeploy via jenkins & service account: connected but “could not authorize”?

Background / Goal The moving parts: I have a service account, let's call it MyDomain\svcMyService. I have a remote server, let's call it MyDomain\MyServer. I have a Jenkins server, let's call it ...
2
votes
0answers
294 views

Deploying Azure Web Apps from Linux-based Jenkins VM

I have an Ubuntu VM running Jenkins that is able to run builds and prepare deployable artifacts. Currently these artifacts are being sent to Azure's blob storage on success. However, I now need to ...
2
votes
0answers
263 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
981 views

Configure Jenkins with LDAP : parameter 'Root DN'

I am installing an LDAP server and configuring Jenkins in order to accept LDAP for authentication. In Jenkins parameters, I have a weird behavior with the parameter Root DN. Documentation says : ...
2
votes
1answer
1k views

Jenkins publish over ssh success to connect the server but failed put file

I have a problem that when I do build to my job, its cannot put my file on the server directory in console output i get the message "ERROR: Exception when publishing, exception message [Permission ...
2
votes
2answers
1k 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
0answers
167 views

Switching from Hudson to Jenkins in mid 2014

We have a Hudson Version 3.1.1 running with multiple plugins installed, and after experiencing multiple problems with some of the plugins and now even in the newest auto-update, we deem it ready to ...
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
699 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
534 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
752 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
1answer
68 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 ...