Questions tagged [jenkins]

Jenkins, the Continuous Integration Tool

Jenkins (a fork of Hudson) is a Continuous Integration (CI) tool to automate builds, testing, and other tasks.

297 questions
70
votes
6 answers

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 messages in English?
sobi3ch
  • 1,448
66
votes
7 answers

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?
54
votes
10 answers

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", which is great for most purposes - except for…
Christian
  • 811
30
votes
4 answers

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?
27
votes
5 answers

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' // Get some code from a GitHub repository git…
22
votes
0 answers

Jenkins realtime console output for parallel threaded fabric command

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 the production servers listed in parallel. There is…
mVChr
  • 405
  • 3
  • 9
22
votes
5 answers

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
  • 331
  • 1
  • 2
  • 4
21
votes
3 answers

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 is that I need to switch to the jenkins user in…
10
votes
6 answers

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 adb kill-server, adb start-server, adb devices,…
9
votes
3 answers

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 javax.mail.MessagingException: Could not connect…
9
votes
0 answers

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 Android plugin to Jenkins and make other things. I…
Admiral Land
  • 191
  • 1
  • 6
9
votes
1 answer

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, upstream job).
ITL
  • 259
8
votes
2 answers

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 dependencies require make in order to build. The Docker…
Jacob
  • 83
8
votes
3 answers

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://git@localhost:9777/path/to/foo.git This failed…
Abdull
  • 2,432
8
votes
3 answers

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 git is trying to execute is: git fetch -t origin…
GorovDude
  • 367
1
2 3
19 20