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
30
votes
9 answers

How can I configure a Hudson job to use a specific JDK?

I have a number of projects running on a Hudson slave. I'd like one of them to run Ant under Java6, rather than the default (which is Java5 in my environment). In the project configuration view, I was hoping to find either: An explicit option…
rewbs
  • 1,958
  • 4
  • 22
  • 34
30
votes
2 answers

is there a way to set ant -verbose inside build.xml?

I would like to get verbose console output while building from eclipse and hudson. There seems to be no verbose property for and and it seems very wrong to call on ant from inside the script just to pass the verbose…
kostja
  • 60,521
  • 48
  • 179
  • 224
30
votes
3 answers

What password encryption Jenkins is using?

I am modifying an xml of a Jenkins job. There is a field which is a password. When I get the xml, where it was the raw password now there is a hash. What I need is to know how to create this hash from the raw password value.
Fran b
  • 3,016
  • 6
  • 38
  • 65
29
votes
5 answers

Jenkins Subversion Error - E200015: No credential to try. Authentication failed

I've updated the Subversion plugin of jenkins to version 2.2 Now i get following error for repos which build the first time after the upgrade and for repos where something within an external changed. It works for all other builds as expected. I…
mikepenz
  • 12,708
  • 14
  • 77
  • 117
28
votes
3 answers

Retrieve build number or artifacts of downstream build in Jenkins

I have a job (call it BIGJOB) in Jenkins; several of the build steps are to trigger builds on other jobs (call them SMALLJOB) using the Parameterized Trigger Plugin then wait for them to complete. What I need to do is retrieve artifacts from the…
Jason Swager
  • 6,421
  • 6
  • 41
  • 56
27
votes
6 answers

Enforcing one build for one commit in Jenkins/Hudson

We use Jenkins for doing incremental builds of our project on each commit to the SCM. We would like to get separate builds for every single commit. However, the naive approach (setup SCM and use post-commit hooks to trigger a build) exhibits problem…
Oleg
  • 271
  • 3
  • 3
27
votes
7 answers

Jenkins Dynamic parameters based on previously selected parameter value

Here I am basically looking for a dependency parameter. Let's say I have two dropdowns in the build parameter section. Based on the value selected from the first dropdown the possible default I want the values of the second dropdown to vary. Is…
Kishore Tamire
  • 2,054
  • 5
  • 23
  • 25
26
votes
4 answers

Can I mass edit jenkins jobs by modifying the config.xml files?

I have a lot of jobs in jenkins and we have decided to make some wide ranging changes to all of them which will be very tedious to change through the UI. It would be much easier to edit them using scripts on the jenkins master machine but I'm not…
chrisst
  • 1,696
  • 5
  • 19
  • 32
26
votes
5 answers

CI: Hudson with .Net vs CruiseControl.Net

I work for a .net shop looking to integrate a CI server. From what I've seen, Hudson seems to be the most popular choice. Considering we are a .net only shop, will Hudson present any hurdles that CC.NET will not?
Jeremy
  • 9,023
  • 20
  • 57
  • 69
26
votes
7 answers

How start identical jobs with different parameters in parallel execution?

I have a build job and a test job parameters. I want to be after the build job, simultaneously run test job with one parameter and the same test job with different parameters in parallel execution. build job | …
Maksim Kolchin
  • 517
  • 1
  • 7
  • 17
26
votes
4 answers

Play framework 2.0 continuous integration setup

I am looking for ideas for a Play 2.0 continuous integration setup. It would contain typical jobs like build after a git push, nightly builds with deployment to a test Heroku instance etc. Also code quality and test coverage metrics generation would…
Petteri H
  • 11,779
  • 12
  • 64
  • 94
25
votes
4 answers

Get URL of Job in mail body in Jenkins

I have Job in Jenkins that sends an email after the build with a HTML report in its body using email-ext plugin by setting Default content to this : ${FILE,path="absolute_path/index.html"} I want to add to this (my body mail ) the URL of the build…
HobbitOfShire
  • 2,144
  • 5
  • 24
  • 41
25
votes
4 answers

groovy.lang.MissingPropertyException: No such property: manager for class: Script1

I am trying to invoke Groovy inside Hudson (using groovy plugin) to get some properties for our build. But I am getting this exception: groovy.lang.MissingPropertyException: No such property: manager for class: Script1 I get this with the…
avijendr
  • 3,958
  • 2
  • 31
  • 46
24
votes
4 answers

Groovy-script in jenkins println output disappears when called inside class environment

The output from println from within a class function is lost. An example script (outputclass.groovy): class OutputClass { OutputClass() { println("Inside class") // This will not show in the console } } println("Outside class")…
Magnus
  • 1,261
  • 1
  • 12
  • 20
24
votes
2 answers

How to get CTest results in Hudson / Jenkins

I'm using CTest (part of CMake) for my automated tests. How do I get CTest results in the Jenkins dashboard ? Or, phrased differently, how do I get CTest to output in JUnit-like XML ?
Calvin1602
  • 9,413
  • 2
  • 44
  • 55