hudson

Copy file from Slave Hudson to Master Hudson

て烟熏妆下的殇ゞ 提交于 2019-12-11 21:14:55
问题 I'm Having Hudson1 (Linux), creating a Build and doing other jobs for a certain project, And Having Hudson2 (Windows), creating a build and doing other jobs for another different project, Hudson2 build depends on Hudson1 build, P1 : I set Hudson2 as a slave on Hudson1 and with "Copy to Slave plugin" I can copy result build of Hudson1 to Hudson2, Now the question is, can I copy result build of Hudson1 to Hudson2, considering Hudson2 as Master and Hudson2 as slave, without an ant script that

Hudson - save artifacts only when less than 90% passes

拈花ヽ惹草 提交于 2019-12-11 19:49:35
问题 I am new at this and I was wondering how I can setup that I save the artifacts, only if less than 90% of the tests have passed. Any idea how I can do this? thanks 回答1: This is not currently possible with Hudson. What is the motivation to avoid archiving artifacts on every build? 回答2: How about a rather simple workaround. You create a post build step (or additional build step) that calls your tests from the command line. Be sure to capture all errors so Hudson don't count it as a failure. Than

How can i send data to the logger from FileCallable back to master in a Jenkins plugin?

若如初见. 提交于 2019-12-11 18:11:46
问题 I'm using the following example from here: void someMethod(FilePath file) { // make 'file' a fresh empty directory. file.act(new Freshen()); } // if 'file' is on a different node, this FileCallable will // be transferred to that node and executed there. private static final class Freshen implements FileCallable<Void> { private static final long serialVersionUID = 1; @Override public Void invoke(File f, VirtualChannel channel) { // f and file represent the same thing f.deleteContents(); f

how to set windows service in hudson 1.398

最后都变了- 提交于 2019-12-11 17:53:32
问题 I just looking Hudson two days ago. So i am very newbie. I download hudson 1.398, searching about windows service. But in manage Hudson there doens't have install as windows service like other version. How i can make it in hudon 1.398. And there any good tutorial, easy to understand, and full complete tutorial.. Thank you. 回答1: From the wiki: Installing Hudson as a Windows Service. Make sure .NET 2.0 is installed (on the server, I presume). 回答2: owh i see the problem. Because i use tomcat to

Share jar of the module with another team

泪湿孤枕 提交于 2019-12-11 13:43:44
问题 I am new to maven and trying to figure out how to share the jar file of the module with our another team. They are developing another module and their module depends on our module. Will it be the best solution to setup 3rd party maven remote repository ? What will be the correct tools for this? We use Hudson to manage our integration environment build. And I started looking into Artifactory and Artifactory plugin for Hudson. Is it correct approach? Thanks. 回答1: There are 3 main Maven

git plugin and hudson

↘锁芯ラ 提交于 2019-12-11 12:24:01
问题 I using Hudson as my continuous integrations tool. Now when pulling down sources from multiple git repositories. I am getting errors in my workspace only pulling down the last repository in the list and the build fails. I understand that when pull down from multiple git repositories multiple hidden .git directories are created in my workspace. The git plugin doesn't specify a way from me to pull each repository into its own directory within the workspace. How do I achieve this? I am using the

Jenkins, Mercurial, Bitbucket and SSH not working

痴心易碎 提交于 2019-12-11 11:41:50
问题 I'm trying to set up Jenkins to pull from a bitbucket repo (on Windows Server 2008). I've generated a key, uploaded it to bitbucket, configured Mercurial to use Plink, am running Pageant, and can clone from the command line. When I set up the Jenkins job, it tries to clone the repo but just hangs with the "working" icon in the console output Building in workspace <workspace> $ hg clone --rev default --noupdate ssh://hg@bitbucket.org/user/repo <workspace> <spinning working icon> If I clone the

hudson svn publisher plugin not working

允我心安 提交于 2019-12-11 10:04:39
问题 I'm trying to use the SVN Publisher plugin to commit some artifacts of my build but I'm getting a non-sensical error: workspace: /Users/builder/hudson/workspace/myproject/ Attempting to import to SVN: https://mysvnrepo.com/svn/myproject/_SNAPSHOT_ SVN Publisher: target: /Users/builder/hudson/workspace/myproject/myproject/_build SVN Publisher: Error: target Directory not accessable: /Users/builder/hudson/workspace/myproject/myproject/_build This path is readable by the user that the hudson

Cannot compute absolute URL when generating Allure report with plugin in Jenkins

心已入冬 提交于 2019-12-11 08:54:17
问题 Cannot generate Allure report in Jenkins after test execution. Get such error in console output: > ERROR: Build step failed with exception > java.lang.IllegalStateException: Root URL isn't configured yet. Cannot > compute absolute URL. at > hudson.model.AbstractItem.getAbsoluteUrl(AbstractItem.java:483) at > ru.yandex.qatools.allure.jenkins.AllureReportPublisher.generateReport(AllureReportPublisher.java:169) > at > ru.yandex.qatools.allure.jenkins.AllureReportPublisher.perform

No Credentials to try in Hudson

自作多情 提交于 2019-12-11 06:55:51
问题 I have a Problem with Hudson. I want to make a Job Configuration. I have my C++ project on an SVN-Server. But whene i give my repository URL for the Suversion it dosent function. The failure is: SVNCancelException: svn: E200015: NO credential to try. Authentication failed. I have made an authetication but it doesen work. Thank you for your Help. Best reguards 回答1: You should go to your Hudson server at the following URL: http://<hudsonrul>/scm/SubversionSCM/enterCredential This will allow you