hudson

how to configure jenkins to work with websvn

假如想象 提交于 2019-12-21 16:45:53
问题 I started using jenkins and now trying to configure it to use websvn for diff and files view. I saw a post that say I have to configure multyviews. but I dont understand exactly what it means and how to work with it after it is configured. 回答1: The solution was to use websvn2 plugin of jenkins which support the url with parameters 来源: https://stackoverflow.com/questions/5564014/how-to-configure-jenkins-to-work-with-websvn

how to configure jenkins to work with websvn

左心房为你撑大大i 提交于 2019-12-21 16:45:03
问题 I started using jenkins and now trying to configure it to use websvn for diff and files view. I saw a post that say I have to configure multyviews. but I dont understand exactly what it means and how to work with it after it is configured. 回答1: The solution was to use websvn2 plugin of jenkins which support the url with parameters 来源: https://stackoverflow.com/questions/5564014/how-to-configure-jenkins-to-work-with-websvn

Limiting log size of jenkins.log or hudson.log

人盡茶涼 提交于 2019-12-21 11:01:16
问题 I use Hudson as well as Jenkins and I have several jobs on them. From time to time my hudson.log/jenkins.log file grows enormously. I am aware that the size of same can be limited. Please help in how to change and in what file the change has to be made. 回答1: You can use logrotate . You can find more information about logrotate on this kb article. Here is how logrotate is configured on my system ( /etc/logrotate.d/jenkins ): /var/log/jenkins/jenkins.log /var/log/jenkins/access_log { compress

Blocking a jenkins task until all downstream tasks complete?

浪尽此生 提交于 2019-12-21 07:19:14
问题 Is there any way in jenkins to block a given task on all its downstream tasks? I have a series of functional test phases, and each needs to run against a server after deployment. The server should not be updated while tests are running, however. So I have jobs: A -> B -> C I need A to block until C completes. How can I do this? 回答1: Take a look at the Advanced Project Options, "Block build when downstream project is building" option for project A. I believe that will prevent multiple

Configuring Rational Functional Tester (RFT) to run in Hudson/Jenkins

百般思念 提交于 2019-12-21 05:46:14
问题 I've just installed Hudson and it is running beautifully. It builds, runs JUnit-tests and also CheckStyle analysis. Next step for us would be to create an installation, install it and then run automated tests on the actual installation. I would then like to fail the build if the tests fail or at least publish the results somehow. I think we would set it up so that part runs periodically or manually triggered. We use InstallAnywhere for installation and IBM Rational Functional Tester for

What's the workflow of Continuous Integration With Hudson?

℡╲_俬逩灬. 提交于 2019-12-21 04:56:31
问题 I am referred to Hudson today. I have heard about continuous integration before, but I have no idea what the heck is a ci-server. Hudson is really easy to install in Ubuntu and in several minutes I managed to set up an instance of it. But I don't quite understand the workflow of a ci-server, or how am I supposed to use it? Please tell me if you have experience about ci, thanks in advance. Edit: I am currently using Mercurial as my SCM , and I wonder what is the right way to use it with Hudson

How to get specific information about the current build project in Jenkins with Groovy?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-21 04:06:07
问题 In Jenkins/Hudson, with the help of a Postbuild Groovy script, I would like to get one of the following: an environment variable (e.g. current JOB_NAME, BUILD_NUMBER etc.) the result of a specific build number of the current project the build number of the last not successful build in the current project At the moment I only found the following way, but it's rather limited: def item = hudson.model.Hudson.instance.getItem("GroovyMultipleFailTest") def build = item.getLastBuild() build

Deploy as Jenkins User or Allow Jenkins To Run As Different User?

会有一股神秘感。 提交于 2019-12-21 04:02:59
问题 I'm just getting started with Jenkins CI, and had a question which I'm struggling to find answers for in the docs or online. Wonder if someone might be able to offer some advice? I'm attempting to use it to automatically deploy my dev and stage branches of my Django projects which are hosted on a Github organisation repository (ie, private). At the moment I have a user "django" who can access the Github repo via a Github deploy key. My Jenkins user can't access the repo. What's the best

Can I get Tomcat running as a service to dump heap?

怎甘沉沦 提交于 2019-12-21 03:57:18
问题 I am attempting to have Tomcat, which is currently running as a service on a Windows 2003 box, dump heap on an OutOfMemoryError . (Tomcat is running Hudson, which is reporting a heap space problem at the tail end of my build. Running the build manually produces no such error. The Hudson guys need a heap dump to get started.) As instructed elsewhere, I've told the Apache Service Monitor to configure the JVM it uses to run Tomcat to dump heap when an OutOfMemoryError is encountered by adding

How to pass parameters to Hudson job's shell commands

北战南征 提交于 2019-12-21 03:46:23
问题 I have a Hudson job that execute shell script on a remote server. Its shell command is: /usr/bin/deployWar.sh ${warfileName} I marked this build as parameterized, and added a string parameter: name: warFileName default value: none description: name of war file When I run it, the parameter gets assigned, but it get passed into the 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