Questions tagged [hudson]

Hudson is an extensible continuous integration server written in Java and capable of running on Linux, OS X and Windows.

In early 2011, Hudson was forked into the Hudson and Jenkins projects after a trademark dispute with Oracle.
Hudson remains an open source project, now governed by the Eclipse Foundation, with Oracle being the primary contributor.

The majority of Hudson users, core and plugins developers switched to Jenkins (tag: ).

Hudson has a wide variety of plugins that integrate external tools and source control systems, provide build reports and analytics, and customize build behaviours.

It is common to configure a Hudson installation to run build slaves on several machines in order to build on different platforms, or to provide load balancing.

2658 questions
102
votes
12 answers

Jenkins - passing variables between jobs?

I have two jobs in jenkins, both of which need the same parameter. How can I run the first job with a parameter so that when it triggers the second job, the same parameter is used?
Stefan Kendall
  • 66,414
  • 68
  • 253
  • 406
100
votes
9 answers

Hudson or Teamcity for continuous integration?

We are a Java shop looking for a CI tool to use. Both Hudson and Teamcity seem to be free but Teamcity seems slicker and with more support. I was wondering why one would still use Hudson and if anyone could provide any argument for/against either?
pdeva
  • 43,605
  • 46
  • 133
  • 171
95
votes
12 answers

Increase the Jenkins login timeout

Does anyone know how to increase the the timeout window before Jenkins logs out a user? I'm looking to raise it to 1 day or so. I work in and out jenkins all day and we keep getting logged out between running of jobs. Added to this frustration,…
Ray
  • 40,256
  • 21
  • 101
  • 138
92
votes
17 answers

How do I clear my Jenkins/Hudson build history?

I recently updated the configuration of one of my hudson builds. The build history is out of sync. Is there a way to clear my build history? Please and thank you
Mahdi Yusuf
  • 19,931
  • 26
  • 72
  • 101
90
votes
9 answers

In Jenkins, how to checkout a project into a specific directory (using GIT)

Sorry for the 'svn' style - we are in a process of migration from SVN to GIT (including our CI Jenkins environment). What we need is to be able to make Jenkins to checkout (or should I say clone?) the GIT project (repository?) into a specific…
viebel
  • 19,372
  • 10
  • 49
  • 83
88
votes
4 answers

Jenkins/Hudson - accessing the current build number?

I have a report file I'm generating, and I would like to be able to add the current build number to that file within a Jenkins job. Is there an environment variable or plugin I can use to get at the current build number?
Stefan Kendall
  • 66,414
  • 68
  • 253
  • 406
86
votes
4 answers

Handling multiple branches in continuous integration

I've been dealing with the problem of scaling CI at my company and at the same time trying to figure out which approach to take when it comes to CI and multiple branches. There is a similar question at stackoverflow, Multiple feature branches and…
toomasr
  • 4,731
  • 2
  • 33
  • 36
77
votes
3 answers

How are environment variables used in Jenkins with Windows Batch Command?

I'm trying to use Jenkins (Global) environment variables in my xcopy script. ${WORKSPACE} doesn't work "${WORKSPACE}" doesn't work '${WORKSPACE}' doesn't work
DonBecker
  • 2,424
  • 3
  • 25
  • 43
77
votes
5 answers

buildbot vs hudson/jenkins for C++ continuous integration

I'm currently using jenkins/hudson for continuous integration a large mostly C++ project. We have separate projects for trunk and every branch. Also, there are some related projects for the Java code, but the setup for those are fairly basic right…
deuberger
  • 3,578
  • 6
  • 31
  • 33
75
votes
2 answers

Is Ansible a replacement for a CI tool like Hudson/Jenkins?

Recently, in our company, we decided to use Ansible for deployment and continuous integration. But when I started using Ansible I didn't find modules for building Java projects with Maven, or modules for running JUnit tests, or JMeter tests. So,…
Ganesh P
  • 1,075
  • 1
  • 13
  • 19
72
votes
8 answers

What is the difference between Hudson and CruiseControl for Java projects?

I think the title sums it up. I just want to know why one or the other is better for continous integration builds of Java projects from Svn.
Jay R.
  • 31,911
  • 17
  • 52
  • 61
71
votes
6 answers

How to prevent certain Jenkins jobs from running simultaneously?

I have a couple of jobs that use a shared resource (database), which sometimes can cause builds to fail in the (rare) event that the jobs happen to get triggered simultaneously. Given jobs A through E, for example, is there any way to specify that…
Jonik
  • 80,077
  • 70
  • 264
  • 372
70
votes
3 answers

How to create and add users to a group in Jenkins for authentication?

I choose to use "Jenkins's own user database" security realm for user login as I couldn't use LDAP in my company. And Google's OpenID has issue when you decided to change the hostname or port number to something else. And I use "Project-based…
samxiao
  • 2,587
  • 5
  • 38
  • 59
66
votes
10 answers

Automatic tagging of releases

How do you tag your release versions in git? Now I have each release identified by build number, but they increment even if there are no changes in the repo. My idea is to have it generated automatically on successful deployment on staging server.…
takeshin
  • 49,108
  • 32
  • 120
  • 164
65
votes
4 answers

Which version of Xcode does xcodebuild use?

I have installed both Xcode 3.2 and Xcode 4.0.2 on the same machine, which uses Hudson for automated CI (continuous integration) builds. When I say that both were installed, what I mean by that is that I can use both Xcode 3 and Xcode 4…
kraftydevil
  • 5,144
  • 6
  • 43
  • 65