hudson

CI: Hudson with .Net vs CruiseControl.Net [closed]

可紊 提交于 2019-12-17 15:24:08
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . 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

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

南楼画角 提交于 2019-12-17 15:10:50
问题 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. 回答1: As a long time CruiseControl committer and someone who has never used Hudson I'm pretty biased, but my take on it is: Hudson is much easier to get up and running (in large part from a nice web interface) and has a very active plugin development community. CruiseControl has support from lots of 3rd party stuff and has the benefit of doing some neat

How to Avoid Maven builds stall on ssh host authenticity problem?

橙三吉。 提交于 2019-12-17 12:12:51
问题 What's the right way to keep ssh host authenticity from being a problem for maven and hudsno builds? I have hudson building my maven project on a VM. When the ESX server with my VMs on it is taxed some of my jobs will stall out stuck in a loop of ssh host authenticity problems. The hosts were in the known hosts file, but during these times the clocks on the slave VMs have drifted far from those of my maven repo. [INFO] Retrieving previous build number from snapshots The authenticity of host

Jenkins / Hudson environment variables

限于喜欢 提交于 2019-12-17 10:13:05
问题 I am running Jenkins from user jenkins thats has $PATH set to something and when I go into Jenkins web interface, in the System Properties window ( http://$host/systemInfo ) I see a different $PATH . I have installed Jenkins on Centos with the native rpm from Jenkins website. I am using the startup script provided with the installation using sudo /etc/init.d/jenkins start Can anyone please explain to me why that happens? 回答1: Michael, Two things: When Jenkins connects to a computer, it goes

Missing certificates and keys in the keychain while using Jenkins/Hudson as Continuous Integration for iOS and Mac development

怎甘沉沦 提交于 2019-12-17 02:59:59
问题 I'm trying to improve Hudson CI for iOS and start Hudson as soon as system starts up. To do this I'm using the following launchd script: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Label</key> <string>Hudson CI</string> <key>ProgramArguments</key> <array> <string>/usr/bin/java</string> <string>-jar</string> <string>/Users/user/Hudson/hudson.war</string> </array>

Creating SSH keys for Gerrit and Hudson

这一生的挚爱 提交于 2019-12-17 02:33:11
问题 I'm trying to use the Hudson Gerrit Trigger plug-in. For whatever reason, Gerrit is not accepting the SSH key located at /var/lib/hudson/.ssh/id_rsa . In the GUI I get Connection error : com.jcraft.jsch.JSchException: Auth fail as an error, and when I'm working in the terminal I get a Permission denied (publickey) error. How can I generate and use a working private key so Hudson and Gerrit can play nice? 回答1: The OP Josh Smith managed to sort it out: I'd actually needed to add the SSH key

Randomly test case fails - Forked JVM exits abnormally.

眉间皱痕 提交于 2019-12-14 04:19:39
问题 I have suite of Junit tests which passes every time I run locally. I have setup a job to run the suite, hudson uses ANT to invoke the tests.This suite was passing in the hudson machine for quite some time. But from last 3 days one test fails some times (randomly). And We have not changed to code. The error is : Error Message Forked Java VM exited abnormally. Please note the time in the report does not reflect the time until the VM exit. Stacktrace junit.framework.AssertionFailedError: Forked

how to run jenkins as super user?

与世无争的帅哥 提交于 2019-12-14 03:34:37
问题 I am Mahesh. I installed jenkins in my linux machine,IT works well as a normal user, When i try to run one script in super user [root] mode,It is not working properly,Even i disable the password in sudoers file it is not working and also It not giving any error It just running the script in normal user instead of root ?? what i do? how i can resolve this problem ?? I just add like this in shell script coloumn in jenkins... sudo su // comment-->I disable the password so no password required ,I

Jenkins Git Release Failure

余生颓废 提交于 2019-12-13 17:41:44
问题 I'm trying to incorporate Jenkins Maven Release plugin with Git and the job is failing because it can't find the git executable. My git repo is setup with ssh and I can execute the Git command on the Jenkins server. I can run a build using Jenkins and everything is pulled down from the Git repo successfully. But when I try to do a release, Jenkins fails to find the git command. What am I doing wrong? Jenkins Info: Version 1.504 Git Plugin 1.2.0 Git Client Plugin 1.0.3 Running on Windows

Hudson and e-mail notification

☆樱花仙子☆ 提交于 2019-12-13 16:26:22
问题 Can I overwrite Hudson settings 'System Admin E-mail Address' for each job? 回答1: Did some reading in the source at http://sorcerer.jenkins-ci.org/, and hudson.tasks.MailSender does not seem to consider anything but the globally configured admin email address when creating a mail. So: No. Or: An excellent reason to write your own notification plugin. :-) 来源: https://stackoverflow.com/questions/5433917/hudson-and-e-mail-notification