hudson

Can a Hudson job poll a SCM without pulling code down?

ⅰ亾dé卋堺 提交于 2019-12-11 06:48:25
问题 I have a job that I want to run every time a commit is made to a repository. I want to avoid pulling this code down, I only want the notification build trigger. So, is there either a way to not pull down certain repositories in your SCM upon a build or a way to poll things that aren't in the SCM for a build? 回答1: you could use a post commit hook to trigger your hudson job. 回答2: Since you want to avoid changing SVN, you have to write a job that gets executed every so often (may be every 5

submitting a parameterized hudson build via the REST API

匆匆过客 提交于 2019-12-11 06:04:31
问题 hudson supports submitting a build by doing an HTTP GET to an API. I need to pass some parameters to such a build. Just adding them as additional URL parameters doesn't work for me. Is this supposed to work? Is there some other mechanism? 回答1: Is it possible to pass parameters in the Hudson's job that will be triggered remotely? Check this question. Instead of /build use /buildWithParameters. I'm currently using it with a simple wget 回答2: Based on the HTML source on the web interface for

Msbuild windows store app (metro)

你。 提交于 2019-12-11 04:39:24
问题 I use nugget and Hudson to deploy our libraries to our enterprise for reuse. We recently started work on windows store apps (formerly called Metro app). Hudson runs on a windows server 2008 box. What do I need to install to compile from source to deploy to nuget. Ms build doesn't find the target files needed. Is there a specific SDK to install? 回答1: So, to solve this, I installed the 4.5 framework SDK. After doing so, it was missing the target files, as I mentioned. Then I simply copied

How to make few locations use the same svn revision in jenkins

♀尐吖头ヾ 提交于 2019-12-11 04:23:08
问题 I have a jenkins project with few svn locations. How can I make them all checkout the same revision when using scm integration? 回答1: As far as I understand your question you could use the @Revision-syntax. Syntax: <SVNURL>@Revision Example 1: svn://server/projectA/trunk/@1234 The above example would checkout the trunk of projectA at revision 1234. 来源: https://stackoverflow.com/questions/6755157/how-to-make-few-locations-use-the-same-svn-revision-in-jenkins

Run failed tests first during rerun in Hudson

烂漫一生 提交于 2019-12-11 04:19:08
问题 I have a long-running unit test job in hudson. If some tests fail I want to run them first and not wait for other tests to run before them (to see, have I fixed them, or not). Is it possible to setup this in Hudson? Thanks. 回答1: I have the same issue before, here is my solution. You can write a standalone program to run a list of unit test cases. (In my case, I wrote a Java main class to run Junit manually.) Create a job that can run with "Trigger builds remotely" and pass the list from the

How to Use build-stability-plugin in sonar

为君一笑 提交于 2019-12-11 03:34:16
问题 I downloaded build-stability-plugin and put it in my plugins folder and re-started the sonar server. I can't see anything in the dashboard of projects related to build-stability-plugin. Is there anything else i have to do in pom.xml file of projects. I don't have any idea to make this working. What i have to do? 回答1: If you look at the documentation, you'll see that this plugin provides a widget. This means that you have to edit an existing dashboard (or create a new one) to add this widget

Maven LifeCycleExecutor with an incomplete configuration error

こ雲淡風輕ζ 提交于 2019-12-11 03:09:57
问题 I am using the latest version 1.341 of the Hudson CI to build my maven-2 project (built using 2.2.0). But I get some warnings which I don't see if executed via a command prompt. Can someone let me know, how to debug this issue? ---------------------------------------------------------- Executing Maven: -B -f d:\work\software\data\hudson\jobs\bio\workspace\trunk\pom.xml install [WARNING] ************ WARNING ************ This Maven runtime contains a LifecycleExecutor component with an

Jenkins: Post build actions on conditions

天涯浪子 提交于 2019-12-11 03:08:53
问题 I want to run some post build actions in my Jenkins job on condition if a string or a regular expression is present in the console log. Any plugin available to do this? 回答1: One solution is to use the LogParser plugin and to create some regexp rules to parse your log. This plugin can change the build status to Unstable: Next, you create a downstream job and you will use the Parameterized Trigger plugin to pass the build status from the upstream to the downstream job. If the status is unstable

xcode Provisioning File not found with Jenkins

别来无恙 提交于 2019-12-11 02:22:18
问题 I have my xcodebuild running successfully through ant. If I ssh into the system and run the build, it works fine. However, when the same ant target is called via Jenkins (running as a slave on the mac), it fails with the classic Code Sign error: a valid provisioning profile matching the application's Identifier 'xxx.xxx.xxx' could not be found" In trying to get it to work, I tried running it via a 'sudo ant' call, and of course, this causes the same error. The local user and root both echo

Expose Hudson system info to remote API

北战南征 提交于 2019-12-11 02:15:13
问题 I was wondering if anyone has been able to expose the system info from Hudson/Jenkins to the remote API? I manage multiple instances and would like to be able to gather some basic information and statistics about each instance together to be able to compare them. At the moment, I would just like to obtain the java.home directory so I can resolve the version of Java being used on builds that show "(Default)" as the jdkVersion. But would also like some load statistics/memory usage is possible.