hudson

Configuring Hudson to deploy a build

╄→尐↘猪︶ㄣ 提交于 2019-12-03 00:18:30
I'm trying to configure Hudson so that I will be able to automatically deploy a build (a .war file) to Tomcat. The newly deployed build will then be used by someone to test the application. I've tried using the Deploy Plugin to automatically deploy the .war file, and this works. However, the job that builds the .war file will run after every scm change (whenever code is committed). With the Deploy Plugin, the .war file would be deployed to Tomcat every time a build is made. Because code is commited frequently, this will mean that the web application will be restarted frequently as well, and

Hudson or Teamcity for continuous integration? [closed]

感情迁移 提交于 2019-12-03 00:16:34
问题 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 7 years ago . We are a Java shop looking for a CI tool to use. Both Hudson and Teamcity seem to be free but Teamcity seems slicker and with more

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

最后都变了- 提交于 2019-12-02 21:34:48
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. Steve HHH According to this posting by the lead Jenkins developer, Kohsuke Kawaguchi, in 2009 , there is no group support for the built-in Jenkins user database. Group support is only usable when

How to use hudson when building for multiple platforms

可紊 提交于 2019-12-02 21:12:12
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 can point me to for this? We use Hudson to manage C/C++ (GNU C, GNU C++, Watcom C) builds for multiple

How start identical jobs with different parameters in parallel execution?

拟墨画扇 提交于 2019-12-02 20:29:43
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! When you create your test job, create it as a "Build multi-configuration project" While configuring the job select "Configuration Matrix" then "User-defined axis" You can use the name of this axis as a parameter in your

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

末鹿安然 提交于 2019-12-02 19:54:57
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? Mark Rushakoff 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.487, then you can try manually uninstalling the plugin. As some people point out in the

Maven release via Hudson

ⅰ亾dé卋堺 提交于 2019-12-02 19:34:04
I'm setting up Hudson to use the batch-task plugin to do maven releases to our internal repository. I'm doing it via: mvn --batch-mode release:prepare mvn --batch-mode release:perform I'm interested in other methods people have used and the pros and cons of those methods. Also, any gotchas people have come across. I have tended to do the releases always by hand for a few reasons. First if you have to roll back it's easier when you can go back to the original release location and do it. Secondly because you need to resolve all snapshot dependencies as part of the process. Our development

How to change Jenkins default folder on Windows?

末鹿安然 提交于 2019-12-02 19:01:56
How to change Jenkins default folder on Windows where Jenkins runs as Windows service. I want to change C:\Users\Coola\.jenkins folder to d:\Jenkins due to lack of space on C: partition (Every build takes ~10MB of free space). I don't want to reinstall Jenkins as Windows service. I just want to change folder of existing Jenkins instance. In case of lack of global solution I could focus only on relocating jobs folder. Thanks in advance for your help. Stop Jenkins service Move C:\Users\Coola\.jenkins folder to d:\Jenkins Using regedit, change HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services

How to solve jenkins 'Disk space is too low' issue?

北城余情 提交于 2019-12-02 17:55:45
I have deployed Jenkins in my CentOS machine, Jenkins was working well for 3 days, but yesterday there was a Disk space is too low. Only 1.019GB left. problem. How can I solve this problem, it make my master offline for hours? You can easily change the threshold from jenkins UI (my version is 1.651.3): [ ] Update: How to ensure high disk space This feature is meant to prevent working on slaves with low free disk space. Lowering the threshold would not solve the fact that some jobs do not properly cleanup after they finish. Depending on what you're building: Make sure you understand what is the

Which version of Xcode does xcodebuild use?

我的未来我决定 提交于 2019-12-02 17:15:53
I have installed both Xcode 3.2 and Xcode 4.0.2 on the same machine, which uses Hudson for automated CI (continuous integration) builds. When I say that both were installed, what I mean by that is that I can use both Xcode 3 and Xcode 4 simultaneously or interchangeably. They both exist on the machine, as I did a custom install for Xcode 4 without overwriting Xcode 3 (supposedly). Do command line calls to 'xcodebuild' invoke Xcode 3 or Xcode 4? Does that question even make sense? Someone who may or may not be knowledgable on the topic is requesting that some projects be built with 3 and some