hudson

Cannot start Jenkins server

≯℡__Kan透↙ 提交于 2020-01-17 03:10:11
问题 Cannot start jenkins. giving below logs when try to restart but doesnt work - -bash-3.2$ ./jenkins.sh start Jenkins is currently stopped... Starting Jenkins with command cd /eas/jenkins;/eas/jenkins/jenkins_jre/jre1.7.0_51/bin/java -Xms1024m -Xmx2048m - XX:MaxPermSize=512m -DJENKINS_HOME=/eas/jenkins/home -jar jenkins.war -bash-3.2$ standard in must be a tty Please help! 回答1: No, adding to sudoers file didnt solve it. there was issue with JVM where JDK was not able to initialize because of

Jenkins with Subversion

蹲街弑〆低调 提交于 2020-01-16 05:12:04
问题 /bin/sh: svn: command not found Caused by: org.apache.maven.plugin.MojoFailureException: Unable to check for local modifications Provider message: The svn command failed. Jenkins could not find Subversion even though the "Subversion Plugin" is already installed. 回答1: The reason for this error is that you have to define explicitly in the pom.xml that the maven-release-plugin should use svnkit. Here's how: <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven

hudson cannot access git repository

自闭症网瘾萝莉.ら 提交于 2020-01-15 12:46:08
问题 I am trying to get hudson to pull from a remote repository, I have set up an ssh trust relationship between the hudson user from /usr/lib/hudson/.ssh/id_rsa.pub to the gitosis keydir (like I have done for hundreds of other users) when I ssh in as hudson and run git clone git@gitserver:project I get You shall not pass! Enter Password: is there any reason the hudson user cannot clone from gitosis but every other user can? I have tried with a fresh install of hudson as well. HUDSON_HOME is set

How constrain the list of users who can receive the e-mail in jenkins on build failure?

送分小仙女□ 提交于 2020-01-15 07:49:48
问题 I want to know how we can specify the pool of users who will receive the mail if the build fails. For example :- If there are 10 users who are part of the changes in a particular build, but I want to send e-mails only to those whom I have specified and configured to receive mails. Rest will not receive the mails Suppose I want to send mails only to A, B, C. Even if build fails because of User D, I don't want to send mail to D. Basically, I am asking if there is a way we can constrain the list

Updating Hudson and plugins

泄露秘密 提交于 2020-01-14 14:54:32
问题 I was wondering which steps are the best to upgrade hudson and the plugins. I'm running 1.347 at the moment. I once tried to update which resulted into a mess because some plugins were incompatible. Also i want to delete some plugins is it appropriate to just delete the hpi file? It would be nice to know how other people do this step and in which order. Should i first upgrade hudson and then plugin by plugin? And if a plugin breaks something downgrade it again? It seems to be a lot of work.

Hudson executing just one job non-parallel

南楼画角 提交于 2020-01-14 14:29:27
问题 We have a hudson setup with just one executor. we want to get to a point where we can have at least 2 executors. The problem that is stopping us from doing this is a job which cannot be run in parallel. Explanation: we have many svn branches configured on hudson. The flow for a particular branch will look like A->B->C In this flow, B writes and deletes data from oracle. we are good, if there is only one branch set up on hudson. But, we have many svn branches on Hudson. So there could be a

cobertura graph in hudson

有些话、适合烂在心里 提交于 2020-01-14 13:55:50
问题 is there a way to have the cobertura test coverage graph be shown on the front page of a project, similar to the test trend graph? I'd like to have that displayed next to the coverage graph. Any help would be appreciated. Thanks. 回答1: Hudson has a set of plugins which you can use to extend its functionality to best suit to your requirements. One of this plugins is the Cobertura Plugin. Once you've installed it, in each of your project's configuration a new Post-Build action will appear with

Set Hudson Build Description via Web API

◇◆丶佛笑我妖孽 提交于 2020-01-14 09:42:28
问题 I have a Python script that operates on Hudson builds and would love to be able to set the description of a build programmatically. I can click "Add Description" on a build's page and fill in the form, how can I POST some data to the same URL that form does? 回答1: Figured it out, need to POST the following as form data (content type application/x-www-form-urlencoded ) to http://myserver/hudson/job/thebuild/10/submitDescription {"description": "Some Description for the build"} In code: def set

Set Hudson Build Description via Web API

♀尐吖头ヾ 提交于 2020-01-14 09:42:12
问题 I have a Python script that operates on Hudson builds and would love to be able to set the description of a build programmatically. I can click "Add Description" on a build's page and fill in the form, how can I POST some data to the same URL that form does? 回答1: Figured it out, need to POST the following as form data (content type application/x-www-form-urlencoded ) to http://myserver/hudson/job/thebuild/10/submitDescription {"description": "Some Description for the build"} In code: def set

Why does cucumber keep failling on jenkins, although tests pass?

时光怂恿深爱的人放手 提交于 2020-01-14 02:25:02
问题 My cucumber test work well on command line, but when I run them in Jenkins/Hudson continuous integration, I get the following, but am not sure how to fix it: 11 scenarios (3 skipped, 3 pending, 5 passed) 78 steps (51 skipped, 3 pending, 24 passed) 0m3.238s Build step 'Execute shell' marked build as failure Recording test results Failed to send e-mail to kamilski81 because no e-mail address is known, and no default e-mail domain is configured Failed to send e-mail to i.wooten because no e-mail