Questions tagged [jenkins]

Jenkins is an open-source continuous integration tool written in Java. Forked from Hudson after a dispute with Oracle.

Jenkin is an open source automation server written in Java. The project was forked from Hudson after a dispute with Oracle.

Jenkins helps to automate the non-human part of the whole software development process, with now common things like Continuous Integration, but by further empowering teams to implement the technical part of a Continuous Delivery. It is a server-based system running in a servlet container such as Apache Tomcat. It supports SCM tools including AccuRev, CVS, Subversion, Git, Mercurial, Perforce, Clearcase and RTC, and can execute Apache Ant and Apache Maven based projects as well as arbitrary shell scripts and Windows batch commands. The creator of Jenkins is Kohsuke Kawaguchi. Released under the MIT License, Jenkins is free software.

Builds can be triggered by various means, for example by commit in a version control system, by scheduling via a cron-like mechanism and by requesting a specific build URL. It can also be triggered after the other builds in the queue have completed.

Jenkins functionality can be extended with plugins.

151 questions
13
votes
2 answers

Jenkins: is there a way to fail a build if it takes more than X time?

I am looking for a way to fail a build if it will take more than X time (be it absolute (5 minutes -- example) or relative (10% more than the average of the last 5 builds -- example). Is there any plugin to do that or should I build such…
Daniel
  • 337
  • 1
  • 2
  • 6
5
votes
1 answer

How to aggregate similar test failures in Jenkins?

How to aggregate similar test failures in Jenkins? We use Jenkins and every once in a while we'll get hundreds (700+ at the moment) of failures when testing against Oracle. Most of them are a generic failure during startup failures, finding the…
EGHM
  • 305
  • 2
  • 9
5
votes
4 answers

How long should test results be kept?

We've got Jenkins jobs running Unit Tests, Integration Tests, JMeter Tests, and Selenium Tests. Given my choice I'ld keep all these test results forever, but maybe that is excessive. How long does your team keep test results? How far back in…
EGHM
  • 305
  • 2
  • 9
4
votes
1 answer

Is there a way to make Jenkins display test results graphically in a job column?

I've spent a while trying to get my Jenkins view to show the information I want about my test jobs, however I can't find a way to concisely display test results graphically. I am currently using Dashboard View image portlets to link to the graphs…
Dave
  • 141
  • 1
  • 1
  • 3
3
votes
1 answer

Can we tell Jenkins to execute half of my test in a one slave and other half in another slave machine

Is there any way to set up a Jenkins job where it will execute part of the test cases in a Node A and other part of the tests in Node B. Technically, I need to reduce my test executing time executing tests in parallel on two different servers…
ChathuD
  • 2,149
  • 22
  • 46
3
votes
1 answer

What should I enter in Username & Password fields for recently installed Jenkins setup?

Team, I have just installed Jenkins on one of my machine. In between due to some other activity, I moved few min away. When I returned I observed my Jenkins page asking me Username & Password. Note - I have neither created any user & nor set any…
Narendra Chandratre
  • 2,776
  • 7
  • 29
  • 60
2
votes
2 answers

jenkins build when a change is pushed to another repository

I'm sure that this happens frequently. My testing suite is a separate repository from the company's main app. I wanted to know If there's a way to run the suite when a change is pushed to repository other than that of the testing suite itself on…
mango
  • 163
  • 1
  • 4
2
votes
1 answer

Jenkins fails to restart after updating plugins

There were 5 or 6 plugin updates for Jenkins v.1.476 which I have running on a Linux VM. The UI showed progress while updating as usual and I typically have to refresh the screen to see Jenkins reboot. However, this time it never restarted and was…
Russell
  • 21
  • 1
  • 1
  • 2
2
votes
2 answers

Jenkins slave is not accessing chrome in GUI

I have my selenium automation script running in chrome and it is running through Jenkins. I have two machines in Jenkins, one master, and one slave, both of them are Windows 7. While running in master, the automation script is working fine and I can…
Vel Guru
  • 526
  • 2
  • 22
2
votes
0 answers

Jenkins looses certificates each time we upgrade JDK

We're using Jenkins to run tests against DB over TLS. For that JDK on Jenkins node requires DB certificate to be installed in the keystore. We have added certificate to JDK keystore and it worked fine until we upgraded minor version of JDK (from…
dzieciou
  • 10,512
  • 9
  • 47
  • 100
1
vote
1 answer

Jenkins: How to restrict “SSH Remote Host” to specific users?

Suppose there are two users who have created two different jobs on the Jenkins server. Each user can only access, configure and run his own job. On each job, they are going to execute a remote ssh command. So I have configured two "SSH remote hosts"…
B Faley
  • 125
  • 1
  • 2
  • 6
1
vote
0 answers

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 Linux/Apache), preferably NOT by setting local repos on…
tap3ah
  • 11
  • 1
1
vote
0 answers

Jenkins job got stuck after 30-40 minutes while passing results to a 3rd party server

In my Jenkins setup, we have a 6 hour long test suite running on a separate agent machine. After each test execution it will bundle all the results with a screenshot (bundle everything as a JSON) and send it to a 3rd party reporting server as an API…
ChathuD
  • 2,149
  • 22
  • 46
1
vote
1 answer

Jenkins executes scripts with small screen resolution

We are using Jenkins version 2.14 for our Test Automation regression. we are running it as a stand alone with no slaves. We have configured a task scheduler which starts jenkins at a predefined time and executes scripts. Because its executed as…
akshay kumar
  • 11
  • 1
  • 2
1
vote
0 answers

Jenkins 2.150.3 update is not overwriting the previous version

I already have Jenkins 2.150.1 installed, so I tried downloading the new version (2.150.3). However, after installing and restarting, it's still loading the previous version. In the notifications, it says that version 2.150.3 is available. When I…
GHOST
  • 151
  • 1
  • 1
  • 6
1
2