hudson

How to change Jenkins default folder on Windows?

♀尐吖头ヾ 提交于 2019-12-03 05:33:46
问题 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. 回答1: Stop Jenkins service Move C:\Users

Jenkins Dynamic parameters based on previously selected parameter value

≡放荡痞女 提交于 2019-12-03 05:13:13
Here I am basically looking for a dependency parameter. Let's say I have two dropdowns in the build parameter section. Based on the value selected from the first dropdown the possible default I want the values of the second dropdown to vary. Is there any plugin or approach to handle this requirement effectively? This is exactly what you are looking for: https://github.com/biouno/uno-choice-plugin/wiki/Uno-Choice-Cascade-Dynamic-Choice-Parameter It seems to be a hidden gem, haven't found it in any of the similar questions so far. I have not used it, but it looks like the following plugin may do

Why is Jenkins Android Emulator Plugin recreating my Emulator Snapshots in every build?

吃可爱长大的小学妹 提交于 2019-12-03 05:04:41
问题 I use Jenkins to build one of my projects. The Android Emulator Plugin automatically starts an emulator with the following configuration: Configuration of the Emulator Plugin: . Every time the job is running I get the following output: Erasing existing emulator data... $ /ci/home/tools/android-sdk//tools/emulator -no-boot-anim -ports 64470,64471 -prop persist.sys.language=de -prop persist.sys.country=DE -avd hudson_de-DE_240_480x720_Google_Inc._Google_APIs_8 -no-snapshot-load -no-snapshot

Configure Jenkins to work with SVN branches

邮差的信 提交于 2019-12-03 05:04:27
问题 I am currently setting up Jenkins to work with SVN repository. Currently it works fine for the trunk. Now I want to set up Jenkins to take care of newly created branches. I don't want to create a new project manually for every new branch in SVN. Is there already a solution which allowes to use SVN and to create jobs/tasks in Jenkins automatically for every brach created in SVN? How do you use Jenkins with SVN tags/branches? 回答1: Also check my extend answer if you are not very familiar with

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

末鹿安然 提交于 2019-12-03 04:44:16
问题 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? 回答1: 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

How would I produce JUnit test report for groovy tests, suitable for consumption by Jenkins/Hudson?

拜拜、爱过 提交于 2019-12-03 03:53:39
I've written several XMLUnit tests (that fit in to the JUnit framework) in groovy and can execute them easily on the command line as per the groovy doco but I don't quite understand what else I've got to do for it to produce the xml output that is needed by Jenkins/Hudson (or other) to display the pass/fail results (like this ) and detailed report of the errors etc (like this ). (apologies to image owners) Currently, my kickoff script is this: def allSuite = new TestSuite('The XSL Tests') //looking in package xsltests.rail.* allSuite.addTest(AllTestSuite.suite("xsltests/rail", "*Tests.groovy")

Is there (an automated) way to backup Hudson CI files?

此生再无相见时 提交于 2019-12-03 03:10:41
Here at my company we have three Hudson CI servers with 100+ jobs configured. We are looking for an automated way to periodically backup job configurations and build history. Currently we have an ant script that we configure as a job but it's not easy to maintain and not elegant. Have any of you found a way to manage this? There is a Backup Plugin . I don't believe that it supports scheduling of periodic backups, but you might be able to trigger it by accessing it through the URL (like some other Hudson remote APIs), in which case you might be able to simply set up a cron job to ping the URL.

Jenkins and docker: uri was not specified

匿名 (未验证) 提交于 2019-12-03 03:10:03
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I've installed docker, jenkins and docker-build-step in jenkins. I've set an step in order to build an image from a Dockerfile of my repository. It dumps me this message: Started by BitBucket push by living_jordi Started by BitBucket push by living_jordi Building in workspace /var/lib/jenkins/workspace/Create Docker Images Cloning the remote Git repository Cloning repository git@bitbucket.org:livingdigital/docker-images.git git init /var/lib/jenkins/workspace/Create Docker Images # timeout=10 Fetching upstream changes from git@bitbucket.org

Why hudson/jenkins tries to make commit?

匿名 (未验证) 提交于 2019-12-03 03:05:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I'm using Hudson to clone a Git repository and build it. I'm getting the following error: FATAL : Could not apply tag jenkins - mus - tomcat - 2 - 2 hudson . plugins . git . GitException : Could not apply tag jenkins - mus - tomcat - 2 - 2 It's strange because I don't want Hudson to make any commits. It should only pull and compile. What's the problem and how can I fix it? 回答1: Check "Skip internal tag" config under "Advanced..." in section "Source code management". It will skip the tagging. 回答2: Note: the Hudson bug 3874 mentions:

parameter for xcodebuild for using latest sdk.

≯℡__Kan透↙ 提交于 2019-12-03 02:59:31
问题 I using ant exec task to execute xcodebuild to build some iOS projects hudson. I would like to be able to crate script that way that allows not to specify sdk version, because after updating sdk on hudson slave or my iOS projects all my projects failing.... There is is nice option in xcode since sdk 4.2 in target setup Base SDK - Latest iOS and I don't have to provide -sdk param in xcodebuild command, but then (i think) it's taken from xcode project and it's bad because then some one can