hudson

Run daemon as another user on mac os x

折月煮酒 提交于 2019-12-22 10:53:58
问题 I'm trying right now to create separate user for jenkins on Mac Os and run it with this user. I've created a new user: # Create the group sudo dscl . create /Groups/jenkins sudo dscl . create /Groups/jenkins PrimaryGroupID 300 # Create the user sudo dscl . create /Users/jenkins sudo dscl . create /Users/jenkins PrimaryGroupID 300 sudo dscl . create /Users/jenkins UniqueID 300 sudo dscl . create /Users/jenkins UserShell /bin/bash # Set the users pasword sudo dscl . passwd /Users/jenkins

How do I remove a Hudson Upstream Project relation?

我是研究僧i 提交于 2019-12-22 09:45:37
问题 I used to have one job, which I split into two. For some reason, the new split-off job treats the first as an Upstream Project. I'd like to remove this relation, but can't find the configuration for it on disk, or in the Hudson UI (ver. 1.312) Note: the new job, like the old one, is maven2. There is no reference/relation between the POMs at all. How can I remove the Upstream Project relation, or at least find where it is declared on disk? 回答1: I'm not sure where it's stored on disk, but you

maven deploy to tomcat cluster (multiple) in one line

▼魔方 西西 提交于 2019-12-22 09:37:05
问题 We're trying to have maven deploy to many multiple servers that form our cluster in just one line. This solution works just fine except that we need to run it repeatedly (1 time per server installation) and our goal is to do it after our integration server (jenkins) buils a successful artifact. And having a matrix feature is not really an option at this time. Why build again the project per server if we just need to deploy it? (plus the time spend doing this) We've been experimenting using

Maven, Hudson and Dynamic Clearcase Views

北城余情 提交于 2019-12-22 09:23:42
问题 This led on from the question about asking if Apache Maven and IBM Rational ClearCase integrated well. Thought I should write up what I found out - will require various edits, but I shall eventually get round to adding it all I hope. Environment ClearCase - Version 7.0.1.2 of ClearCase. Maven - All of them, from the Maven website. Hudson - Version 1.307 downloaded straight from the Hudson website Questions Does Maven run from a VOB? I installed all the versions of Maven2 into a VOB 'stacked',

Build jenkins job when push code to bitbucket

喜你入骨 提交于 2019-12-22 08:33:45
问题 I have a project in bitbucket and recently installed jenkins . In jenkins I created a job in jenkins . from New Item , I ticked Freestyle project and did not add anything to the jenkins project . in the configure section I added Source Code Management -> none Build Triggers -> Build when a change is pushed to BitBucket In Bitbucket went to Project settings Hooks Select hook -> jenkins Add hook and added the following values Endpoint :- http://myaddress.com:8080 Module name : my jenkins job

Hudson -CI Screen saver setup

强颜欢笑 提交于 2019-12-22 05:04:10
问题 HI , Is there any I can setup a screen saver with the list of projects running in hudson which indicates the status of the project. Say the part of the screen saver indicates green for projects got succeded , and shows the red if the project is failed to build. Probably the screen saver must be partitioned to multiple projects !!! 回答1: You can create something in any suitable environment e.g. Flex / AS3. that can read XML and also generate the sort of screensaver design and executable you

How would I start integrating pyflakes with Hudson

随声附和 提交于 2019-12-22 04:12:30
问题 We use Hudson for continuous integration with the Violations Plugin which parses our output from pylint. However, pylint is a bit too strict, and hard to configure. What we'd rather use is pyflakes which would give us the right level of "You're doing it wrong." 回答1: You can adapt pyflakes and pep8 output to work with the Violations pylint plugin. pyflakes path/to/src | awk -F\: '{printf "%s:%s: [E]%s\n", $1, $2, $3}' > violations.pyflakes.txt pep8 path/to/src | awk -F\: '{printf "%s:%s: [%s]

Where to configure Hudson node disk/temp space thresholds?

不想你离开。 提交于 2019-12-22 02:00:58
问题 I am currently running a Hudson instance on a VM slice. As I don't have a need to run more than a couple small applications from it, I'm minimizing how much space I devote to it. The sizes I've defined for this slice seem fine to me, however Hudson seems to have it's own ideas on what are considered minimum disk and temp space thresholds. And then I look at the Node and I see the following: 546MB does not seem like too little space for running my small number of applications, but Hudson seems

How can we execute Jenkins job using other user credential

懵懂的女人 提交于 2019-12-21 19:17:31
问题 I need to execute few of the Jenkins jobs such as "Release to Production" through Jenkins UI using logged on user credential. The reason is, we have separate Support Team Members, who have access to the production boxes and not the Dev team members. So, in order to deploy any code base to production, all the Windows Deploy Commands (ex, create, update files, folder etc.) needs to be run with specific user credential who has access to the Production Box. So that even the Dev team members who

How can we execute Jenkins job using other user credential

时光怂恿深爱的人放手 提交于 2019-12-21 19:17:06
问题 I need to execute few of the Jenkins jobs such as "Release to Production" through Jenkins UI using logged on user credential. The reason is, we have separate Support Team Members, who have access to the production boxes and not the Dev team members. So, in order to deploy any code base to production, all the Windows Deploy Commands (ex, create, update files, folder etc.) needs to be run with specific user credential who has access to the Production Box. So that even the Dev team members who