Questions tagged [jenkins]

Jenkins is an extendable open source continuous integration server

It is built in Java and has many plugins to support,build and test projects.

More info on the official website.

654 questions
14
votes
1 answer

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 /Applications/Jenkins/jenkins.war try to kill the…
serverFaulter
  • 385
  • 2
  • 4
  • 9
13
votes
2 answers

Safely delete the contents of 'workspace' and 'jobs' in Jenkins

I have inherited a Jenkins server and need to clear some space. I have set a; post { always { deleteDir() } } on all the jobs. Can I remove old builds safely by deleting the contents of workspace and jobs in the $JENKINS_HOME?
eekfonky
  • 309
  • 1
  • 4
  • 14
12
votes
1 answer

Jenkins on Docker - Free Swap Space 0

I've noticed that my master node on Jenkins shows free swap space: 0 B So I added a swap file as described here. But this has no effect. What am I doing wrong?
dknaack
  • 249
  • 1
  • 3
  • 10
12
votes
3 answers

Apache reverse proxy config with SSL for Jenkins and Sonar

I am running two services behind an Apache server: Jenkins (Port 8080) and SonarQube (Port 9000). My apache config looks like this: ServerName server Redirect permanent / https://server.domain.com/
friederbluemle
  • 223
  • 1
  • 2
  • 7
11
votes
2 answers

How give aws credential to jenkins pipeline?

I have following configuration in my jenkins pipeline s3Upload( file:'ok.txt', bucket:'my-buckeck', path:'file.txt') Problem is s3Upload function is not taking AWS access keys that i have stored in jenkins i tied with following code …
open source guy
  • 229
  • 1
  • 2
  • 5
11
votes
1 answer

Jenkins: Trying to add a dumb slave but the option is missing, any idea how to add it?

I've installed Jenkins 2.x on a server and now I'm trying to add a "Dumb slave" but the option is missing. In this official Jenkins tutorial it says that when creating a new node the option should appear but the only option I have is: Permanent…
Itai Ganot
  • 10,644
  • 29
  • 93
  • 146
11
votes
1 answer

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 "git@store:repositories/testproject.git" I get this error: Failed to connect to…
Jörg Beyer
  • 213
  • 1
  • 2
  • 6
11
votes
4 answers

Which Java version should I run Jenkins with?

Reference: Jenkins Users :: Jenkins on Windows: Java + JRE (version) confusion Which Java version should I run Jenkins with (on Windows)? Should I use the included JRE of the Windows master? Should I use the last 1.6 release? Should I just run it…
Martin
  • 589
  • 4
  • 10
  • 27
11
votes
2 answers

How can I modify a jenkins job configuration programatically without a restart?

Jenkins jobs have config.xml files that store the configuration of that job. I have a "job manager" job that modifies the configuration of other jobs, but I can't seem to get it to acknowledge the new configuration without restarting Jenkins. The…
Catskul
  • 1,929
  • 4
  • 20
  • 23
10
votes
4 answers

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 them to a registry. To use ECR instead of my private…
Guss
  • 2,670
  • 5
  • 34
  • 59
10
votes
3 answers

Triggering Jenkins build for merge request from GitLab web hook

I want Jenkins (1.561) to build merge (pull) requests submitted to GitLab (6.7.5), triggered by a merge request web hook. I have a parameterised build, and the Jenkins plugins "GitLab Merge Request Builder" (1.2.0) and "GitLab Hook" (1.0.0).…
Martin Lehmann
  • 201
  • 1
  • 2
  • 6
9
votes
1 answer

Jenkins is reserved for jobs with matching label expression

I have installed blue-ocean plugin and create a simple pipeline with print message. When I run the pipeline, build job hang with below message Queued Jenkins is reserved for jobs with matching label expression How to get rid of this message and…
lakshman
  • 267
  • 1
  • 3
  • 10
9
votes
7 answers

Is there a way to change the java JRE a linux Jenkins server uses?

A Jenkins server is running under Java 1.7 on a linux machine and I need to change it to 1.8 so that I can run a specific plugin. The Linux machine has a Java 1.8 JDK/JRE installed, but I cant find a way to tell the Jenkins server to use it? I've…
ubergam3r
  • 91
  • 1
  • 1
  • 2
9
votes
2 answers

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:~$ ps aux | grep java jenkins 2210 9.5 7.5…
Matt W
  • 211
  • 1
  • 2
  • 6
9
votes
1 answer

Jenkins won't serve with CA signed certificate

tl;dr Fixed I've been running a Jenkins instance for a while with a self signed certificate, which works fine except the hassle of having to create certificate validation exceptions in browsers. So today I got a free tier 1 certificate from…
l0b0
  • 1,140
  • 1
  • 8
  • 17
1
2
3
43 44