hudson

Strange Maven out of memory error

跟風遠走 提交于 2019-12-09 13:09:33
问题 I am currently trying to build my project using hudson to call maven. I keep getting the problem of out of memoery error. I set the xmx and xms in all environmental variable, hudson configuration and hudson project config. I set the xmx to 1500 mb which should be more than enough as the whole project is less than 1000mb. the machine used to build the project is a server where the maven repo for the team is stored. Anyone have come acrossed the same problem? Any idea of how it happen? 回答1: If

Configure Hudson to only execute Build or Post Build actions if changes in SVN are detected

人走茶凉 提交于 2019-12-09 10:53:28
问题 Is there a way to configure Hudson to only execute Build or Post Build actions if there are changes in SVN/CVS Thank you 回答1: You can have Hudson poll the SCM for changes and only do things if it finds changes. Poll SCM: Configure Hudson to poll changes in SCM. Note that this is going to be an expensive operation for CVS, as every polling requires Hudson to scan the entire workspace and verify it with the server. Consider setting up a "push" trigger to avoid this overhead, as described in

Hudson Build-Time Trend Plugin?

落爺英雄遲暮 提交于 2019-12-09 08:05:50
问题 Is there a plugin which would allow me to create a "trend" graph for a hudson build which shows the build time for that project? I'm tasked with speeding up the build and I'd like to show a nice trend as I speed it up. 回答1: This is supported out of the box: http://SERVER/hudson/job/JOBNAME/buildTimeTrend 回答2: To follow up from the @Pascal's answer, if you would like to bring this graph and show it more prominently you can edit the job description and add an image directly there <img src="http

Jenkins is going to shut down

喜欢而已 提交于 2019-12-09 07:51:53
问题 A strange thing happen sometime, Jenkins start displaying " Jenkins is going to shut down" even when nobody turned this message on and restarting Jenkins. Screenshot: 回答1: This message is displayed when someone with enough administration rights has clicked "Prepare for Shutdown" from the global configuration, or went to http://jenkins/safeRestart URL. If you are absolutely sure that none of the administration have clicked "Prepare for Shutdown" (which you cannot be sure of, unless you are the

What is the most notable difference between Jenkins and Hudson from an user perpective?

人走茶凉 提交于 2019-12-09 04:41:02
问题 It is around 10 months now that Jenkins split off from Hudson. When looking at the project homepages I am wondering what the differences between Hudson and Jenkins in the meantime really are. From the changelog I do not realy learn much. There are a bunch of changes and the major difference seems to be that Jenkins releases more often with less changes and Hudson less frequently, but then with more changes in a release. Are there any notable differences yet? So are there things that make me

Enforcing one build for one commit in Jenkins/Hudson

大城市里の小女人 提交于 2019-12-09 04:33:13
问题 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 in the following scenario: Build is triggered. While build takes place (it can take up to several minutes) two separate commits to the SCM are made by two developers. One new build is triggered. It receives changes from both of the commits, made

Best way to automatically check out and compile Eclipse projects with Ant in Hudson or another CI tool?

自古美人都是妖i 提交于 2019-12-09 04:30:48
问题 We have several products which have a lot of shared code and which must be maintained several versions back. To handle this we use a lot of Eclipse projects, some contain library jars, and some contain shared source code (in several projects to avoid getting a giant heap with numerous dependencies while being able to compile everything from scratch to ensure that source and binaries are consistent). We manage those with projectSet.psf's as these can directly pull all projects out from CVS and

Which part of HUDSON_HOME should I put under source control?

流过昼夜 提交于 2019-12-09 04:23:10
问题 I'd like to manage Hudson's configuration files with subversion for backup. The Hudson Wiki lists the directory structure of $HUDSON_HOME like so: HUDSON_HOME +- config.xml (hudson root configuration) +- *.xml (other site-wide configuration files) +- fingerprints (stores fingerprint records) +- plugins (stores plugins) +- jobs +- [JOBNAME] (sub directory for each job) +- config.xml (job configuration file) +- workspace (working directory for the version control system) +- latest (symbolic

Maven site on multi module project could not resolve dependency

喜欢而已 提交于 2019-12-08 21:25:42
问题 I want to split my continous integration job (Hudson) into two steps. (Because the runtime with build and reporting together takes too long.) In the first job, I build my multi module maven project with "mvn package" successfully. Then I copy my workspace to another location and try to build the project again only with the goal "site" and/or findbugs/checkstyle/pmd to create reports. But this doesn't work! Maven can't resolve a dependency of my submodules. (But all JARs are available in its

Ant with Hudson

ぐ巨炮叔叔 提交于 2019-12-08 20:18:36
问题 I have problem in running the Job in Hudson. I have configured the Hudson with the ANT_HOME with the path of the ant and JDK as well with the relative path. And I created a New Job, where I setup the SVN path and rest of the things. My build.xml of the project is in Project root Folder/build/build.xml And them I have added the build.xml in the Linux. Which is like this. <project name="Test Job" default="build"> <target name="clean"> <delete dir="${basedir}/svn/_build"/> <delete dir="${basedir