hudson

How can I delete Hudson's built artifacts?

陌路散爱 提交于 2019-12-23 14:39:24
问题 We are using Hudson for our Continuous Integration server and it's great. We have 2 issues with it, which are mildly related. https://hudson.dev.java.net/issues/show_bug.cgi?id=2736 The build order in Hudson means that the downstream dependencies get built a lot more than they need to be. Hopefully this issue will be addressed soon. Since these things are getting built so frequently, the build history is massive. We really don't need 1000 build items in the history for some of the jobs. My

Can a Parameterized Hudson Build Override the svn revision?

我与影子孤独终老i 提交于 2019-12-23 13:16:16
问题 I'd like to setup the ability to rebuild from a specific revision. The default would be HEAD and a user could rebuild an old build (that had been removed). I'd still like to leverage all of hudson's reporting regarding SVN etc. Is there a good way to do this? 回答1: What I would try. Unfortunately I don't have the time to verify my approach. A quick way would be to use an parameter and leave a blank if you want to go to head. To check out an older revision, enter "@" plus the revision number as

Hudson : warning MSB3245: Could not locate the assembly “nunit.framework”

…衆ロ難τιáo~ 提交于 2019-12-23 09:30:53
问题 I'm working in a Virtual Machine as a Hudson Slave. In the virtual machine, I add the path to the MSBuild I want to use : %SystemRoot%\Microsoft.NET\Framework\v4.0.30319\; I added also the path to NUnit : C:\Program Files\NUnit 2.5.7\bin\net-2.0; And so, I can run the NUnit and MSBuild command lines in my VM. But I get this error when my Hudson Job build my solution : C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets : warning MSB3245: Could not resolve this reference. Could

How do you set up Hudson to work with Git?

萝らか妹 提交于 2019-12-23 07:35:31
问题 I'm trying to set up Hudson as a CI Server and I'm having trouble getting everything to work. I'm trying to use the 'official' git plugin. I haven't done any testing with the alternate plugin developed by stephenh. I'm wondering if anyone else has gotten Hudson to work with Git or any CI server to work with Git. If so, how and with what configuration. Pertinent information is that I'm on Hudson 1.277, I'm using Git 1.6.1.1.230.gdfb04, and the Git Plugin 0.5, all on the windows platform.

How do you set up Hudson to work with Git?

点点圈 提交于 2019-12-23 07:32:08
问题 I'm trying to set up Hudson as a CI Server and I'm having trouble getting everything to work. I'm trying to use the 'official' git plugin. I haven't done any testing with the alternate plugin developed by stephenh. I'm wondering if anyone else has gotten Hudson to work with Git or any CI server to work with Git. If so, how and with what configuration. Pertinent information is that I'm on Hudson 1.277, I'm using Git 1.6.1.1.230.gdfb04, and the Git Plugin 0.5, all on the windows platform.

How to configure hudson to ignore changes under specified SVN folders?

╄→尐↘猪︶ㄣ 提交于 2019-12-23 07:11:33
问题 I'm looking for a way to ignore changes under specified SVN folders in Hudson. It's the same thing as exclude folders in TeamCity and filters in CC.Net. I haven't found any configuration option under SVN GUI configuration. 回答1: In Hudson 1.334, in the build configuration, under Subversion -> Advanced..., there are three Exclusion boxes. If it's polling for changes, Hudson will ignore changes that match these exclusions when determining whether to trigger a build. You can tell Hudson to ignore

How can I get SCP and ftp (from command line, not plugin) working within hudson

假如想象 提交于 2019-12-23 07:04:08
问题 I am running hudson CI server on a win32 machine. After the build succeeds I want the exe created to be put on a public website. The hudon plugins for SCP and ftp were not working the way I wanted (mostly because it chooses some odd directories for where to place them) so I made my own script for a command line scp that hudson calls. For some reason though when run under the hudson environment the scp bat file hangs. It works fine when I call it from a command line though on the same machine.

Jenkins - could not read Username for 'https://github.com': No such device or address

若如初见. 提交于 2019-12-23 03:10:55
问题 I'm trying to set up Jenkins / Hudson on my Ubuntu PC. That's not the problem but I set an Android job with the following commands: export CLEAN=false export LUNCH=cm_ace-userdebug export REPO_BRANCH=cm-10.1 export RELEASE_TYPE=CM_NIGHTLY curl -O https://raw.github.com/CyanogenMod/hudson/master/job.sh . ./job.sh The job stops after a few seconds because of the error: could not read Username for 'https://github.com': No such device or address How do I fix this error? Please help! 回答1: I

How to delay a Hudson build until its dependencies are built?

℡╲_俬逩灬. 提交于 2019-12-23 01:40:10
问题 Our build consists of two projects, a library project and a web front end project that depends on the library project. The Hudson jobs are configured from the maven pom.xml files and the dependency appears on Hudson as downstream/upstream project. Both jobs use the "poll SCM" build trigger and everything works as intended when only one the projects changes. The problem arises when a commit contains changes in both projects, so Hudson starts a build of both projects at the same time and

Jenkins CI - SSL handshake_failure

一笑奈何 提交于 2019-12-22 17:52:28
问题 I am trying to configure Jenkins CI to perform continuous integration for our project and am unable to get it to connect to our SVN repository over https. Any time I try to configure the repository URL and it attempts to connect I get the following exceptions: org.tmatesoft.svn.core.SVNException: svn: OPTIONS /svn/repo/path failed at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:291) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request