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.

637 questions
108
votes
4 answers

Tell Jenkins to run a specific project on a particular slave node

How do I tell Jenkins to run a specific project on a particular slave? I've set up a Jenkins master node, and a slave node that I want to use for staging an application. But I can't figure out how to configure the project to run on the slave node I…
Lorin Hochstein
  • 4,868
  • 15
  • 54
  • 72
51
votes
10 answers

How do I check the build status of a Jenkins build from the command line?

How do I check the Jenkins build status without switching to the browser? If required, I can create a script using the JSON API, but I was wondering if there is already something like this built in.
Catskul
  • 1,839
  • 4
  • 20
  • 23
41
votes
4 answers

How to use Jenkins with SSL / https

I have a Fedora server running Jenkins which I install via yum. Everything is okay, I can access it with http://ci.mydomain.com. But now, I want to access it with https://ci.mydomain.com so the login with username and password is encrypted. How can…
Tim
  • 600
  • 2
  • 8
  • 15
33
votes
2 answers

The option to "Launch slave agents via Java Web Start" is missing from new node configuration, how can I add it to the options menu?

I'm following this official Jenkins guide in order to become familiar with the Jenkins Pipeline configuration. One of the steps there is to create a dumb slave and set it to "Launch slave agents via Java Web Start" but for some reason this option is…
Itai Ganot
  • 10,424
  • 27
  • 88
  • 143
29
votes
1 answer

Allowing a non-root user to restart a service

Background : I created an app called myapp with Spring-boot. It consists of a self-executable jar and is compatible with systemd services. Now, I am trying to integrate it with jenkins. What I want: I want jenkins to be able to : stop the…
Arnaud Denoyelle
  • 413
  • 1
  • 5
  • 6
25
votes
1 answer

How can I get Jenkins to stop listening for remote connections?

I have Jenkins sitting behind Nginx, with Nginx taking care of authentication, but Jenkins is still listening on port 8080 externally, so by accessing the box on port 8080 people can bypass Nginx. How can I tell it to stop listening for remote…
Ludo
  • 1,049
  • 3
  • 10
  • 11
24
votes
4 answers

Where and How does Hudson/Jenkins store data?

I installed Jenkins on Ubuntu 10.10 and I could not find any mention of setting up database for data persistance. So the first question is where does the data get stored, and secondly, can we setup Hudson / Jenkins with mySQL ? or similar databases?
kamal
  • 509
  • 4
  • 10
  • 21
22
votes
2 answers

Nginx - Forward HTTP AUTH - User

I have some trouble with Nginx and Jenkins (Hudson). I am trying to use Nginx as Reverse Proxy for the Jenkins instance with HTTP Basic Authentication. It works so far, but i have no idea how to pass the Header with the Authentication…
opHASnoNAME
  • 625
  • 2
  • 7
  • 18
18
votes
4 answers

Starting a forever process in a Jenkins build step?

I'm running a shell command at the end of a Jenkins deployment to restart a forever script: npm install && forever stop app.js && forever start -a -l /var/log/forever.log app.js When I run that as a user jenkins everything works fine and the…
Patrick
  • 351
  • 1
  • 3
  • 11
18
votes
7 answers

How to make Jenkins CI use Local time instead of UTC on debian squeeze

I have a Jenkins-ci installation on a debian squeeze. Current default time zone: 'America/Toronto' Local time is now: Mon Jul 9 16:00:57 EDT 2012. Universal Time is now: Mon Jul 9 20:00:57 UTC 2012. In the /etc/default/rcS file i have…
drgn
  • 183
  • 1
  • 1
  • 4
16
votes
2 answers

how to trigger jenkins job via curl command remotely

I have tried to execute(trigger) jenkins job (not a parameterized job) via curl command by using below methods but it showing these results. my jenkins version is Jenkins 2.73.3 curl -X POST -u jenkins_user_name:jenkins_user_passwd…
Prabath Dolawatta
  • 511
  • 1
  • 5
  • 13
15
votes
5 answers

Using GIT variables in a declarative Jenkins pipeline

I'm struggling to access GIT variables in my Jenkins pipeline I need to know what GIT branch it's been checked out inside some bash code in a stage of the pipeline. I will use this to create different output file names. My pipeline is declarative,…
ColOfAbRiX
  • 980
  • 2
  • 11
  • 22
15
votes
2 answers

Allow anonymous user to only view job list without browsing workspace in Jenkins

We are running a Jenkins CI. Generally we would like to provide full access to authenticated users from particular group full-read access to anonymous users block anonymous users to access certain projects (completely) We use Unix user/group…
Wojtek
  • 524
  • 1
  • 4
  • 10
14
votes
5 answers

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 occurred while processing the request. Please check our…
serverFaulter
  • 385
  • 2
  • 4
  • 9
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
1
2 3
42 43