hudson

Hudson and configurations (debug, release, parallel, etc)

匿名 (未验证) 提交于 2019-12-03 09:02:45
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I wonder if there are some good practices for testing multiple configurations in Hudson. We compile tests in debug and release mode and also toggle MPI on and off. The make system takes a series of parameters (DEBUG=FALSE, OPT=TRUE, MPI=TRUE) and does the right thing, producing test executables that are well labeled. I could probably create a monolithic control script that does everything, but I wonder if I am missing some facility for iterating through a list of parameters. Even better would be if I could clean the project in between.

Problem Publishing NUnit Testing Result Reports with Hudson

£可爱£侵袭症+ 提交于 2019-12-03 08:43:21
I am facing a problem with Hudson and NUnit testing. When trying to publish the Test Result Report for NUnit, the option in Hudson, i.e., "Publish NUnit Test Result Reports", is creating a problem. I am unable to provide the Path of the already-created XML file under the workspace folder of the Job. When I set the path of my file, i.e., "nunit-result.xml" and run the job, it throws an error: "No test report files were found. Configuration error?" Can anyone please help me out? Thanks in advance. Check the the beginning of the log where the clone is made. Sometimes when you have the "Enable

Hudson: How to pass parameters to shell script

匿名 (未验证) 提交于 2019-12-03 08:41:19
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Hi i have a following job in hudson setup. what it does is that it execute shell script to remote server. I set the command as /usr/bin/deployWar.sh ${warfileName} I check this build is parameterized and added a string parameter name: warFileName default value: none description: name of war file When i run it the parameers gets assigned , but it doesn't seem to get passed into shell script. 回答1: Parameterized Build Jenkins plugin documentation states that all the environment variables added by parameters are in upper case In your case this

Configure a Jenkins job to select an application and trunk/tags/branches from SVN

為{幸葍}努か 提交于 2019-12-03 08:28:33
We want to use a single Jenkins job to build an application. The solution from How to configure a single Jenkins job to make the release process from trunk or branches? does not work since our SVN structure is different (from historical reasons and we cannot change it): http://my-svn-repo/projects/ ├───branches │ ├───app1 │ │ ├───BRANCH_A │ │ ├───BRANCH_B │ │ └───BRANCH_C │ ├───app2 │ │ ├───BRANCH_D │ │ ├───BRANCH_E │ │ └───BRANCH_F │ └───app3 │ ├───BRANCH_G │ ├───BRANCH_H │ └───BRANCH_I ├───tags │ ├───app1 │ │ ├───BRANCH_D │ │ ├───BRANCH_E │ │ └───BRANCH_F │ ├───app2 │ │ ├───TAG_D │ │ ├───TAG

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

不问归期 提交于 2019-12-03 08:03:56
问题 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 Matrix Authorization Strategy" schema for my security. But I don't seem to able to create my own group, and add users to the group to manage the permission. 回答1: According to this posting by the lead Jenkins developer, Kohsuke Kawaguchi, in 2009, there

How to use hudson when building for multiple platforms

早过忘川 提交于 2019-12-03 07:42:36
问题 Right now we are building a number of C++ apps for Win32 platform. We will be soon porting to Linux and then maybe more (32 and 64 bits for both). What is the standard practice , do you use multiple hudson servers each on their own platform to do a build, or does the hudson service create VMs and do builds? It is not clear to me the best practical way to do this. Ideally I just want one box with a bunch of VMs running hudson, and then it kicks off builds as needed. Is there a resource someone

How start identical jobs with different parameters in parallel execution?

泪湿孤枕 提交于 2019-12-03 06:50:20
问题 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 | / \ test job test job with one params with other params | | How to accomplish this and whether it is possible to perform without having to write your own plugin? Thanks! 回答1: When you create your test job, create it as a "Build multi-configuration project" While configuring the job

How do I uninstall a plugin from Jenkins (Hudson)?

℡╲_俬逩灬. 提交于 2019-12-03 06:27:43
问题 I have a few plugins in my Jenkins installation which I no longer need. I've already disabled the plugins (and my build still work), and I'd like to remove the plugins completely. What is the right process for completely removing a Jenkins (Hudson) plugin? 回答1: As mentioned by Jesse Glick in his answer, if you are using Jenkins 1.487 or higher, then there is a native way to uninstall plugins in the Jenkins UI. See JENKINS-3070 for details. If you are using a version of Jenkins earlier than 1

Jenkins/Hudson - How to run multiple jobs in parallel more than 1 level deep?

Deadly 提交于 2019-12-03 06:10:58
I'm trying to get the following workflow running in Jenkins, in parallel. So for example, both A and B running at the same time. As soon as A finishes run A2 and A3 at the same time, etc... It seems like a pretty common use case but most plugins I tried do no support more than 1 level deep, which is the case with the A branch below. Join plug-in doesn't seem helpful here. I read about using the Promotion plugin but I'm a little mystified on what to fingerprint/artifacts to archive to make this work. Any clue on how to make this simple build pipeline work? Petrik As jgritty pointed out you

PHPUnit code coverage generation causing memory exhaustion

╄→гoц情女王★ 提交于 2019-12-03 05:57:07
问题 I'm currently using Zend Framework in conjunction with PHPUnit to conduct unit testing on an application. When Hudson executes the PHPUnit shell command, the maximum PHP memory limit is reached sometime during code coverage generation. I currently have a total of 41 tests with 334 assertions. I have successfully eliminated this error by raising the memory_limit setting to 768M using the -d memory_limit=768M switch; however, I am worried that as the complexity increases along with the total