Skip to main content

Questions tagged [jenkins]

Jenkins, the Continuous Integration Tool

Filter by
Sorted by
Tagged with
67 votes
6 answers
82k views

How force Jenkins to show UI always in English?

I'm using Google Chrome. When I'm using Jenkins (This is remote service, I don't have control over it) then part of UI is displaying in my local language. How can I tell Jenkins to always display ...
sobi3ch's user avatar
  • 1,408
64 votes
7 answers
92k views

How do I delete the builds 11 to 1717 in Jenkins?

Due to a misconfiguration, I have over 1700 failed builds in a Jenkins job. How can I efficiently clean them?
Aaron Digulla's user avatar
50 votes
10 answers
75k views

Suppress execution trace for echo command?

I'm running shell scripts from Jenkins, which kicks off shell scripts with the shebang options #!/bin/sh -ex. According to Bash Shebang for dummies?, -x, "causes the shell to print an execution trace"...
Christian's user avatar
  • 771
30 votes
4 answers
128k views

Clear Jenkins build history ( clear build yesterday )

I need to clear and clean Jenkins build history: Yesterday - 2 days ago - All builds. How can I do it in Jenkins?
Vu Phuong Nam's user avatar
27 votes
5 answers
79k views

Is there a way to insert a manual approval in Jenkins 2 pipelines?

Jenkins 2 has pipelines has a first class citizen. However, in the examples the tasks seem to be executed as a single sequence: node { // Mark the code checkout 'stage'.... stage 'Checkout' ...
giorgiosironi's user avatar
22 votes
5 answers
153k views

Need to schedule a job every hour in jenkins

I'm New to Jenkins. I have a job which i need to schedule every 1 hour. I am using * */1 * * * but it is not working effectively. Please provide any other solution.
Ajay's user avatar
  • 331
22 votes
0 answers
3k views

Jenkins realtime console output for parallel threaded fabric command [closed]

We have a Python fabric command that runs in parallel across several hosts, something like this: $ fab --hosts=prod1.server,prod2.server,prod3.server --parallel copy_cache This will copy cache to ...
mVChr's user avatar
  • 405
21 votes
3 answers
34k views

Cannot switch to jenkins user redhat linux

I have a redhat linux server running jenkins. I setup jenkins as per the instructions mentioned here https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Red+Hat+distributions The problem ...
OrwellHindenberg's user avatar
10 votes
6 answers
42k views

Working around ADB "waiting for device" issue

We are setting up a continuous integration server for our Android development and we've quickly run into ADB's waiting for device issue. For the record, we've already tried a lot of combinations of ...
Juan Delgado's user avatar
9 votes
3 answers
36k views

How to configure Jenkins email Notifications through outlook?

I refered this doc and have configured MS 365 as follows but it throws exceptions. I have tried it with 465 port but still it's failing and also without checking Use SSL but it throws this exception ...
Swapnil Kotwal's user avatar
9 votes
1 answer
12k views

Disable manual build trigger for jenkins job

Is it possible to disable manual build trigger to be configured per job? I explicitly do not want to disable a job, obviously, as it should be triggered by other build triggers (SCM Polling, Schedule,...
ITL's user avatar
  • 249
9 votes
0 answers
4k views

jenkins:Broken AVD system path. Check your ANDROID_SDK_ROOT value

I have docker-image of jenkins. Home directory of jenkins is: /var/jenkins_home wich mapped to /home/user So, i install android-sdk wich mapped to: /home/user/tools/android-sdk/ When i install ...
Admiral Land's user avatar
8 votes
2 answers
20k views

Jenkins Docker image has no make or sudo

I'm trying to set up CI on AWS using the Jenkins image from the Docker hub. I've gotten a few hours into the process (configuring for a Node project), and I've now realized that a few of my npm ...
Jacob's user avatar
  • 83
8 votes
3 answers
6k views

Jenkins notification-poll-build fail with "No git consumers for URI ssh://path"

Whenever my Jenkins gets notified about a new git commit to my repository foo, I get the following log/error response on the triggering client: Scheduled polling of foo No git consumers for URI ssh:...
Abdull's user avatar
  • 2,242
8 votes
3 answers
23k views

git fatal: pack has 1 unresolved delta (index-pack failed)

I have a VERY strange and not so covered issue with a specific Windows Build Server (Jenkins Slave). In Jenkins I have a Job that pulls the latest code from a specific branch. The actual command the ...
GorovDude's user avatar
  • 367
7 votes
2 answers
44k views

Schedule a job once every day on work days in jenkins

I am new to Jenkins. I need to schedule the job in Jenkins to run at 3 PM every working day (MON, TUE, WED, THU, FRI). Is the below format correct? 00 15 * * 1-5 Please advice.
Poonam's user avatar
  • 73
7 votes
1 answer
7k views

Jenkins listens on weird ports

I use Centos 6.5 and Jenkins 1.547. I installed Jenkins as outlined in Jenkins's wiki. I configured Jenkins to listen on local port 8081. netstat -tulpn reveals that Jenkins additionally listens ...
Abdull's user avatar
  • 2,242
7 votes
1 answer
4k views

What does "delete all disabled modules" do in Jenkins?

In Jenkins, I have the option to "delete all disabled modules" on main page of some projects. What does that do? Edit: What is a "disabled module"? Jenkins doesn't have modules, it has projects and ...
Aaron Digulla's user avatar
7 votes
1 answer
14k views

Start Jenkins slave on Mac OS X as LaunchDaemon

I'am trying to start the jenkins' slave.jar on a Mac OS X 10.8.3 using a Launch Daemon so that it runs right after the machine is started. But I'm experiencing a mysterious problem: The LaunchDaemon ...
mr.VVoo's user avatar
  • 241
6 votes
3 answers
10k views

Set Windows Server 2012 default screen resolution (VM Ware)

I need to set (default) screen resolution to Win Server 2012 hosted in VMWare vcentrum 5.5.0. It is a dedicated server for running automatic GUI tests for Windows applications by Jenkins. When ...
Ondrej Sotolar's user avatar
5 votes
3 answers
11k views

Jenkins not accessible through LAN

I've installed Jenkins through brew, and it is now running on port 8080 on Machine A (with IP 10.0.6.6): 10.0.6.6:8080 gives me Jenkins when on Machine A. On Machine B, if I type in 10.0.6.6:8080, ...
Snowman's user avatar
  • 101
5 votes
1 answer
5k views

Changing machine of a Jenkins node making ssh connection fail

We have a node on the jenkins master (actually, several nodes) which connects using SSH and Manually trusted Key verification Strategy. We connect properly the slave to jenkins this way (A Sierra Mac ...
Shuyin's user avatar
  • 51
5 votes
1 answer
6k views

Jenkins config file for Global Security - Security Realm - Jenkins’ own user database

I need to find out where Jenkins stores its configuration data. Especially Global Security - Security Realm I tried to search var/lib/jenkins folder but without any success. Is there config file with ...
Čamo's user avatar
  • 355
5 votes
3 answers
10k views

Jenkins Pipeline sh step hangs

I am currently having an issue with Jenkins running on Ubuntu 18.04. The sh pipeline step hangs and eventually times out with the following message: [Pipeline] sh process apparently never started in /...
Aesonus's user avatar
  • 76
5 votes
1 answer
5k views

Copy data from network device with Windows client

We're using Jenkins to test our software on both Windows and Linux. Our Jenkins server (which doesn't have any data drives mounted) starts a Jenkins slave Job on one of our Windows machine which then ...
fpnick's user avatar
  • 616
5 votes
1 answer
4k views

Jenkins: Restricting the ability to build to logged-in users

I'm configuring Jenkins. I want to make it so that only users who are logged in can run a job, so we have a record of who does what. The problem is, we have a lot of users, and a lot of jobs, and I ...
Rokujolady's user avatar
5 votes
2 answers
6k views

Why is Jenkins using so much memory?

I just started htop in my VPS and filtered to Jenkins to see if this was what was taking so much memory. Holy crap?! I only have two build executors and only ran the service once (on machine bootup), ...
simpleauthority's user avatar
5 votes
1 answer
3k views

GPG Error on APT-GET docker container (Ubuntu 22.04)

I am trying to just apt-get update on a ubuntu:22.04 docker container. On my local machine, when I spin up a new ubuntu:22.04 docker container and run apt-get update, no error occurs. However, on my ...
Jason Chan's user avatar
5 votes
1 answer
9k views

Nohup doesn't work when executing script from Jenkins [closed]

I have bash script which executes following nohup ws --port 8080 & when executing that script directly on remote server and closing connection - process still exists. But when i am using Jenkins ...
user454546's user avatar
4 votes
1 answer
21k views

How to completely uninstall Jenkins from OS X

I tried to install Jenkins on my OS X, that was successfully but usage is not quite successful. So planning on complete/clean uninstall and redo it back. Any help on what all the traces of Jenkins ...
DJD's user avatar
  • 141
4 votes
2 answers
10k views

Exit /b 0 does not set %errorlevel% to 0

I have a weird behavior wrt setting errorlevel in a batch script to 0. I am calling a batch script a.bat on a Jenkins job, which in turn calls a second script b.cmd and evaluates the errorlevel after ...
Arne Mertz's user avatar
4 votes
1 answer
27k views

Download a file from the latest stable Jenkins build

Using a batch file and wget/curl, how can I download the Multiverse-Core-.jar from here? http://ci.onarandombox.com/job/Multiverse-Core/lastStableBuild/artifact/target/ I want to use the timestamping ...
Craft1n3ss's user avatar
4 votes
1 answer
3k views

Depends: daemon but it is not yet installable - Jenkins install on Ubuntu 18.04.1 LTS

I'm trying to install Jenkins on a Virtual machine running Ubuntu 18.04.1 LTS via the following guide (https://websiteforstudents.com/install-jenkins-on-ubuntu-16-04-17-10-18-04-lts-server/). I am ...
Colin747's user avatar
  • 353
4 votes
1 answer
25k views

Jenkins - Publish Over SSH - UNSTABLE - Permission denied

Our jenkins deploy process checks out our git repo into the workspace and then copies the files from the workspace into our staging environment, using the publish over SSH plugin. 2 Days ago we had a ...
Worp's user avatar
  • 223
4 votes
1 answer
7k views

Jenkins: Using multiple docker containers to build and deploy an application

Background: Jenkins is running inside a docker container, which works great, but by design we want all build processes to run inside docker containers to minimize the software installed inside the ...
Nate Williams's user avatar
4 votes
1 answer
3k views

how to stop jenkins from wiping out workspace when started new build?

Is there any plugin which provide this facility I have tried following options 1.Tried exploring jenkins default options 2.I am using cvs scm
Niraj Nandane's user avatar
4 votes
2 answers
1k views

jenkins group while in job is not the same as in terminal

I have installed jenkins on our dev server, and I added the user "jenkins" to some groups for example www-data. now when I run this command on the terminal: groups jenkins I get this output ...
Tzook Bar Noy's user avatar
4 votes
2 answers
1k views

Setup headless Jenkins slave to login in mac desktop

There is a main jenkins server which i do not have acess to, which connects through ssh to a jenkins mac slave machine in our office, for mac builds. Since all this is done through ssh, the jenkins ...
McDuck's user avatar
  • 161
3 votes
1 answer
2k views

Docker In Docker Jenkins on Ubuntu - Permission issue with docker.sock

I'm trying to set up a Jenkins docker image similar to the approach described in https://getintodevops.com/blog/the-simple-way-to-run-docker-in-docker-for-ci My Dockerfile looks like this: FROM ...
Chris Cooper's user avatar
3 votes
1 answer
3k views

Is there a desktop status widget for Jenkins?

At our company, we use Nagstamon to monitor our Nagios alerts. It's a standalone app that doesn't require a web browser, and installs on Linux. Is there a similar widget to monitor Jenkins dashboard ...
Will Sheppard's user avatar
3 votes
3 answers
2k views

How to install rvm as user jenkins?

I am following these steps to setup a Jenkins server on an Ubuntu EC2 instance. Everything is fine until I get to this step: As you can see (at the end of the output) I am being asked for the ...
CaymanEss's user avatar
  • 131
3 votes
2 answers
33k views

We can't access to jenkins from anywhere

We have just installed Jenkins on our server (Debian 7 wheezy). It works on local network, but not on extern network. We search but we don't find any workaround for this problem. We can ping our ...
fische's user avatar
  • 31
3 votes
2 answers
4k views

nuget.exe fail: Missing required property 'OutputPath' for project type 'PackageReference'

(Using nuget.exe version 4.9.2 and Visual Studio 2017 Community Edition) I'm stumped on a nuget.exe restore issue. I'm using Jenkins to build pushed sources. I had a solution with a single project ...
trueskew's user avatar
3 votes
1 answer
8k views

502 Bad Gateway with Nginx as proxy for Jenkins

I'm using Centos 7 with Nginx and a SSL from letsencrypt to use as a proxy for jenkins on the same droplet. Everything was working up to the point I tried to proxy Jenkins.. which gave a 502 Bad ...
David L.'s user avatar
3 votes
1 answer
16k views

How to run single Maven test case in Jenkins

In Jenkins my job is of type "Build a maven2/3 project" and project name is "SeleniumProject" and project source is "SVN" contains around 40 test cases. When I build this, it runs all test cases and 3 ...
Subbarao Gaddam's user avatar
3 votes
1 answer
1k views

Jenkins pipeline calls git.exe on non-windows node

I have a master set up on Windows machine. I have a few nodes on Jenkins, one of which has 2 labels: "system project". This node is actually a plain Solaris 11.3 machine. Other nodes are plain ...
a_girl's user avatar
  • 286
3 votes
1 answer
2k views

jenkins windows ssh slave can't access map drives

I have a jenkins setup at office, where jenkins (windows) is connected to slave (windows) over ssh using OpenSSH public private key authentication. The issue I am facing right now is with the access ...
user1045620's user avatar
3 votes
1 answer
3k views

Jenkins & GitHub Enterprise Servers API endpoint error - requires POST

TL;DR: This is a bug. There is a bug report. https://issues.jenkins-ci.org/browse/JENKINS-54051 I am trying to set up the API endpoint for Jenkins to know how to communicate with a GitHub Enterprise ...
jeremysprofile's user avatar
3 votes
1 answer
6k views

How to setup Jenkins under macOS with Docker daemon access?

I followed the simple steps to get Jenkins up and running through a docker container: https://jenkins.io/doc/book/installing/#downloading-and-running-jenkins-in-docker Basically, all I did was run: ...
Chris's user avatar
  • 1,258
3 votes
1 answer
2k views

Jenkins: "Docker client wasn't initialized"

I am trying to run the docker plugin in Jenkins but I get the error: [Docker] ERROR: docker client is not initialized, command 'Pull image' was aborted. Check Jenkins server log which Docker client ...
Pithikos's user avatar
  • 1,644

1
2 3 4 5 6