hudson

How can I configure a Hudson job to use a specific JDK?

匿名 (未验证) 提交于 2019-12-03 01:34:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have a number of projects running on a Hudson slave. I'd like one of them to run Ant under Java6, rather than the default (which is Java5 in my environment). In the project configuration view, I was hoping to find either: An explicit option allowing me to set a custom JDK location to use for this project. A way to set custom environment variables for this project, which would allow me to set JAVA_HOME to the JDK6 location. The would make Ant pick up and run on Java6 as desired. Is there a way to do either of the above? If one of those

Help me improve my continuous deployment workflow

ぐ巨炮叔叔 提交于 2019-12-03 01:33:34
问题 I've been developing a workflow for practicing a mostly automated continuous deployment cycle for a PHP project. I'd like some feedback on possible process or technical bottlenecks in this workflow, suggestions for improvement, and ideas for how to better automate and increase the ease-of-use for my team. Core components : Hudson CI server Git and GitHub PHPUnit unit tests Selenium RC Sauce OnDemand for automated, cross-browser, cloud testing with Selenium RC Puppet for automating test server

Configure email notification in Hudson

匿名 (未验证) 提交于 2019-12-03 01:31:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I am trying to configure Hudson to send an email if a build fails to the person who committed the broken build to SVN. Question Is it possible to do this and if so how do I configure Hudson to do it? 回答1: Yes - in your job configuration, check E-mail Notification under Build Settings near the bottom of the page, and then also check "Send separate e-mails to individuals who broke the build" to have Hudson email the person(s) who committed the SVN changes for a failed build. Note that your Hudson user names will need to match your

Best way to automatically check out and compile Eclipse projects with Ant in Hudson or another CI tool?

核能气质少年 提交于 2019-12-03 01:15:43
We have several products which have a lot of shared code and which must be maintained several versions back. To handle this we use a lot of Eclipse projects, some contain library jars, and some contain shared source code (in several projects to avoid getting a giant heap with numerous dependencies while being able to compile everything from scratch to ensure that source and binaries are consistent). We manage those with projectSet.psf's as these can directly pull all projects out from CVS and leave a fully prepared workspace. We do not do ant builds directly or use maven. We now want to be

Haproxy Jenkins slave

匿名 (未验证) 提交于 2019-12-03 01:10:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: My architecture is something like this, deployed a docker swarm service with 2 nodes hosting a jenkins master. When I am trying to add an external slave using JNLP, the below is the issue. Please help me to resolve the issue. Thanks. Nov 30, 2017 11:53:00 PM org.jenkinsci.remoting.engine.WorkDirManager initializeWorkDir INFO: Using /jenkinshome/remoting as a remoting work directory Nov 30, 2017 11:53:01 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Locating server among [ https://URL/] Nov 30, 2017 11:53:01 PM org.jenkinsci.remoting

Which part of HUDSON_HOME should I put under source control?

血红的双手。 提交于 2019-12-03 01:04:55
I'd like to manage Hudson's configuration files with subversion for backup. The Hudson Wiki lists the directory structure of $HUDSON_HOME like so: HUDSON_HOME +- config.xml (hudson root configuration) +- *.xml (other site-wide configuration files) +- fingerprints (stores fingerprint records) +- plugins (stores plugins) +- jobs +- [JOBNAME] (sub directory for each job) +- config.xml (job configuration file) +- workspace (working directory for the version control system) +- latest (symbolic link to the last successful build) +- builds +- [BUILD_ID] (for each build) +- build.xml (build result

Hudson git clone error

匿名 (未验证) 提交于 2019-12-03 00:55:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have created free-style software project in Hudson. I want to clone a public Git repository: git://github.com/bret/watir.git Build fails with error message: Started by user anonymous Checkout:workspace / C:\Documents and Settings\Administrator\.hudson\jobs\watir\workspace - hudson.remoting.LocalChannel@1a1f370 Last Build : #4 Checkout:workspace / C:\Documents and Settings\Administrator\.hudson\jobs\watir\workspace - hudson.remoting.LocalChannel@1a1f370 Cloning the remote Git repository Cloning repository origin $ git clone -o origin git:/

Hudson, C++ and UnitTest++

ⅰ亾dé卋堺 提交于 2019-12-03 00:49:58
问题 Has anyone used Hudson as a Continuous-Integration server for a C++ project using UnitTest++ as a testing library? How exactly did you set it up? I know there have been several questions on Continuous Integration before, but I hope this one has a narrower scope. EDIT: I'll clarify a bit on what I'm looking for. I already have the build set to fail when the Unit-Tests fail. I'm looking for something like Hudson's JUnit support. UnitTest++ can create XML reports (See here). So, perhaps if

hudson*.groovy not found in jenkins

匿名 (未验证) 提交于 2019-12-03 00:46:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am trying to configure jenkins job with groovy scripts, I donot know what I am doing wrong with the configuration that I could not execute even a simple groovy command like println System.getenv("PATH") it shows the following stack trace when the jenkins tries to build then following error is thrown [workspace] $ groovy "C:\Program Files (x86)\Jenkins\jobs\{Project_Name}\workspace\hudson2392295018240496017.groovy" The system cannot find the file specified FATAL: command execution failed java.io.IOException: Cannot run program "groovy" (in

Hudson 持续集成

匿名 (未验证) 提交于 2019-12-03 00:22:01
Hudson 持续集成 概述 IP:192.168.4.221 8G 内存(Hudson 多个工程在同时构建的情况下比较耗内存) 环境:CentOS 6.6、JDK7 Hudson 不需要用到数据库 Hudson 只是一个持续集成服务器(持续集成工具),要想搭建一套完整的持续集成管理平台, 还需要用到前面课程中所讲到的 SVN、Maven、Sonar 等工具,按需求整合则可。 1、 安装 JDK 并配置环境变量 JAVA_HOME=/usr/local/java/jdk1.7.0_72 2、 Maven 本地仓库的安装(使用 Maven 作为项目构建与管理工具): 下载 maven-3.0.5 (注意:建议不要下载 3.1 或更高版本的 Maven,因为与 Hudson 进行集成时会有问题,之前有遇到过): # wget http://mirrors.hust.edu.cn/apache/maven/maven-3/3.0.5/binaries/apache-maven3.0.5-bin.tar.gz 解压: # tar -zxvf apache-maven-3.0.5-bin.tar.gz # mv apache-maven-3.0.5 maven-3.0.5 配置 Maven 环境变量: # vi /etc/profile ## maven env export MAVEN