hudson

Best practices for versioning Hudson settings

匿名 (未验证) 提交于 2019-12-03 02:50:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: We're using Hudson continuous integration server frequently on projects. But Hudson seems lacking of proper versioning of the jobs configuration. A few times, this has lead to problems: Somebody changes or tweaks the configuration on jobs and something that used to work stopped working. As far as I know, there is no way in Hudson to view change history of jobs, and no plugin does it either. Also, there seems to be no way to export/import settings. So the question is: How do you keep track of changes? Both in jobs and in general setup of

Which part of HUDSON_HOME should I put under source control?

匿名 (未验证) 提交于 2019-12-03 02:48:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: 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 link to the last

Hudson/Jenkins Git build all branches

匿名 (未验证) 提交于 2019-12-03 02:45:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: We have a lot of developers creating feature branches that I would like to build. Nightly we run a code quality tool that needs to run on every branch. I also would not like a static configuration because the number of branches changes every few weeks. 回答1: In Git configuration there is a field 'Branch Specifier (blank for default): ' if you put there ** it will build all branches from all remotes. having that you can use an environment variable ${GIT_BRANCH} e.g. to set a title for the build using https://wiki.jenkins-ci.org/display/JENKINS

Play framework 2.0 continuous integration setup

非 Y 不嫁゛ 提交于 2019-12-03 02:42:47
问题 I am looking for ideas for a Play 2.0 continuous integration setup. It would contain typical jobs like build after a git push, nightly builds with deployment to a test Heroku instance etc. Also code quality and test coverage metrics generation would be handy. At the moment the stack looks like Play 2.0 with Java but that might change to Scala. For "traditional" Java web app I would use Hudson/Jenkins. I found a Hudson plugin for Play but it doesn't seem to support Play 2.0. Is Hudson suitable

Code Coverage Tools for Scala [closed]

点点圈 提交于 2019-12-03 02:36:22
问题 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 6 years ago . What are the available code coverage tools for Scala? I have Scala spec tests and a Hudson continuous integration set-up. Is there

Trigger Hudson build on SVN commit

你说的曾经没有我的故事 提交于 2019-12-03 02:31:32
I have already set up a version control system (Subversion) which is going to be used by developers to commit and update their code (let's say that its address is https://server/svn/project ). Only authenticated users will be able to have access to project's SVN. On the other hand, I have installed Hudson as the project's continuous integration server (address of the project is server:8080/job/project ). I'd like to achieve the following: Hudson builds to be triggered automatically when there is an SVN commit. Mails are sent to the respective developers (the ones that committed code) when

Jenkins/Hudson SVN Issue

匿名 (未验证) 提交于 2019-12-03 02:25:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have a (strange) issue on my Jenkins installation which basically leads to SVN updates failing on an alternate basis. The stack trace shows two issues: hudson.util.IOException2: revision check failed on (my repo).... and Caused by: org.tmatesoft.svn.core.SVNException: svn: OPTIONS (my repo) If I rerun a build after this happens, everything works just fine. Mark Edit by ganders with exact same issue: Here's the stack trace from my machine that causes this error. It would appear as though it occurs when it tries to access the SVNExternals

Enforcing one build for one commit in Jenkins/Hudson

我与影子孤独终老i 提交于 2019-12-03 02:19:54
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 during previous build. This "race condition" complicates finding which one of the commits has broken the

Active Git branch is “(no branch)” on hudson CI

匿名 (未验证) 提交于 2019-12-03 01:58:03
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: My Ant build.xml script starts with GIT_BRANCH = ${env.GIT_BRANCH} PWD = ${env.PWD} Hudson CI is setup to build when any branch changes. Console output is... Commencing build of Revision 90906a63929e9074035eb5b10c71ee055ad3e13c (origin/DPM-48) GitAPI created Checking out Revision 90906a63929e9074035eb5b10c71ee055ad3e13c (origin/DPM-48) [workspace] $ git.exe checkout -f 90906a63929e9074035eb5b10c71ee055ad3e13c [workspace] $ cmd.exe /C '"C:\Program Files\WinAnt\bin\ant.bat" -file build.xml ...' [echo] GIT_BRANCH = ${env.GIT_BRANCH} [echo] PWD

Creating SSH keys for Gerrit and Hudson

匿名 (未验证) 提交于 2019-12-03 01:48:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: 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 from /var/lib/hudson/.ssh/id_rsa.pub for the user (me