hudson

How do i set a private ssh key for hudson / jenkins to access bitbucket?

≯℡__Kan透↙ 提交于 2019-12-05 00:50:05
I'm trying to set up a Debian server with Apache2 as a front end to Tomcat 7 running Jenkins - which is working - but i want Jenkins to monitor a private Mercurial repository hosted at bitbucket and I'd like to use SSH. (I've tried with plain https but still no joy - there is a question answer here on SO that recommends using ssh) I've deployed Jenkins using the hot deploy capability of Tomcat by dropping the Jenkins .WAR file into /webapps. I can generate a public/private key pair on the server and have added my public key to the bitbucket account - but how do I make Jenkins use my private

No test report files were found in Hudson with NUnit

主宰稳场 提交于 2019-12-05 00:29:00
I could successfully run NUnit in Hudson using batch command and it generates the TestResult.xml in the NUnit installation directory. But Hudson generates the error that No NUnit test report files were found. Configuration error? after the correct path is given to the xml file under Publish NUnit test result report . Should the xml file be in the project's workspace or is there any other configuration to make this work??? I referred to the Problem Publishing NUnit Testing Result Reports with Hudson too but no answer was found. After trying in different ways to solve the above problem, I could

Hudson : “yes: standard output: Broken pipe”

一曲冷凌霜 提交于 2019-12-04 22:46:19
I need to run a shell script in hudson. That script needs an answer from the user. To give an automatic answer I did the following command line : yes | ./MyScript.sh This works well in Ubuntu terminal. But when I use the same command in the Hudson job, the script will be automated and do all the needed work, but at the end, I get these two lines of error : yes: standard output: Broken pipe yes: write error And this causes the failure to my Hudson job. How should I change my command line to work well in Hudson? But how would you explain that I dont get this error while running the script

Sending Subversion Change Log Info Via Hudson

主宰稳场 提交于 2019-12-04 20:32:28
问题 I'm trying to integrate Hudson into our development process, and everything is going smooth except for one thing. I had been using Phing to do deployments, and one of the things that was being triggered was an email to our tech support email address containing a list of all the commit messages between the last time code was deployed and the present SVN revision. I was doing something like this: read in a file from the root directory of the currently-deployed application that contains the SVN

Hudson git error ssh

一个人想着一个人 提交于 2019-12-04 20:06:21
问题 If there is anyone that can help me understand why this git repo isn't cloning that would be amazing. I runt the same command from the terminal it works. I hoping to find out where I can put the password so the server can authenticate the connection. Please and thank you. ERROR: Error cloning remote repo 'origin' : Could not clone ssh://build@kdmanalytics.net/usr/local/repository/kdm/git/TestCaseGenerator.git ERROR: Cause: Error performing /usr/bin/git clone -o origin ssh://build@kdmanalytics

Why is Jenkins ignoring the %PATH% variable when using MSBuild?

久未见 提交于 2019-12-04 19:16:03
问题 I am trying to use Jenkins to compile my MSBuild project created with Delphi. I have the MSBuild plugin installed into Jenkins and configured. I'm choosing the specific configuration for my build job. I have set all the environmental variables in Jenkins that are required by the Delphi compiler (from rsvars.bat for you Delphi types.) The project compiles just fine on the command line. If I do it on the command line, MSBuild reports a nice big fat PATH (the correct one) as part of the command

move Hudson job to another server

怎甘沉沦 提交于 2019-12-04 18:34:19
问题 I've setup a continuous integration build with Hudson running on Tomcat. I now need to move this a different instance of Tomcat, but don't want to have to configure everything from scratch. Is there a configuration file that defines each job which I could copy to the new server, or is to possible to import/export a job via the user interface? Thanks, Don 回答1: Check the .hudson directory in the homedir of the user that runs the hudson process. (At least: that is the location hudson writes its

Why does git fetch via hudson fail, while git fetch via the command line works?

偶尔善良 提交于 2019-12-04 17:46:17
问题 I'm trying to fetch a read-only git repository from github and have it be built via hudson. This process is failing. This is the hudson output: Started by an SCM change Checkout:workspace / d:\hudson\home\jobs\gdcm-hudson\workspace - hudson.remoting.LocalChannel@19ba1d8 Using strategy: Default Checkout:workspace / d:\hudson\home\jobs\gdcm-hudson\workspace - hudson.remoting.LocalChannel@19ba1d8 GitAPI created Fetching changes from the remote Git repository Fetching upstream changes from git:/

Hudson integration with UCM ClearCase

允我心安 提交于 2019-12-04 17:20:53
I have a linux build machine with JBoss, UCM ClearCase and ant installed. I would like to find out how to configure a continuous integration using Hudson and Hudson clearcase plugin. Can I use an existing dynamic view that is already created. Please give me some basic steps. Thank you in advance. VonC Yes you can use an existing dynamic view. The principle is: create the dynamic view on your hudson (master) server indicate in the Hudson Job configuration you want to use an existing dynamic view (you will have to put its root path: /view/yourView ) let hudson monitor the files that have evolved

Unable to access Sonar MySQL database Caused by: java.sql.SQLException: Access denied for user 'sonar'@'glassfishdev.ccs.local' (using password: YES)

妖精的绣舞 提交于 2019-12-04 17:00:59
I am trying to add Sonar to my Continuous Integration build system. I am using ANT as my build script and I am using the sonar-ant-task-1.1.jar for sonar to generate the reports based on my source code in SVN. Problem When the build runs and hits the sonar ant task I get the exception as follows: Caused by: java.sql.SQLException: Access denied for user 'sonar'@'glassfishdev.ccs.local' (using password: YES) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1075) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3566) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3498)