Commit Graph
344 Commits
Author SHA1 Message Date
huybrechts b27c035371 fix DirectoryBrowserSupportTest on windows
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16073 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-06 23:30:55 +00:00
kohsuke 15dfef2857 Fixed a regression in the fingerprinter & archiver interaction in the matrix project
(<a href="http://www.nabble.com/1.286-version-and-fingerprints-option-broken-.-td22236618.html">report</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16066 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-06 20:20:21 +00:00
kohsuke ddf321c133 Set the credential to access java.net.
See http://www.nabble.com/More-Hudson-unit-test-failures-td22320769.html

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16044 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-06 02:10:34 +00:00
kohsuke ec1b0e42e7 added descriptions to help people see what these modules do
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16036 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-05 19:22:27 +00:00
kohsuke cf573086d4 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16035 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-05 18:52:35 +00:00
kohsuke f339f14942 [maven-release-plugin] prepare release hudson-1_289
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16033 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-05 18:46:41 +00:00
kohsuke 800d78e05c fixing a test case. The error I get is:
hudson.util.IOException2: remote file operation failed
        at hudson.FilePath.act(FilePath.java:430)
        at hudson.maven.MavenModuleSetBuild$RunnerImpl.parsePoms(MavenModuleSetBuild.java:426)
        at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:315)
        at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:272)
        at hudson.model.Run.run(Run.java:896)
        at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:234)
        at hudson.model.ResourceController.execute(ResourceController.java:93)
        at hudson.model.Executor.run(Executor.java:119)
Caused by: java.io.IOException: Cannot run program "env": java.io.IOException: error=2, No such file or directory
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
        at java.lang.Runtime.exec(Runtime.java:593)
        at java.lang.Runtime.exec(Runtime.java:431)
        at java.lang.Runtime.exec(Runtime.java:328)
        at org.codehaus.plexus.util.cli.CommandLineUtils.getSystemEnvVars(CommandLineUtils.java:250)
        at org.codehaus.plexus.util.cli.CommandLineUtils.getSystemEnvVars(CommandLineUtils.java:216)
        at org.apache.maven.project.interpolation.RegexBasedModelInterpolator.<init>(RegexBasedModelInterpolator.java:63)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at java.lang.Class.newInstance0(Class.java:355)
        at java.lang.Class.newInstance(Class.java:308)
        at org.codehaus.plexus.component.factory.java.JavaComponentFactory.newInstance(JavaComponentFactory.java:44)
        at org.codehaus.plexus.DefaultPlexusContainer.createComponentInstance(DefaultPlexusContainer.java:1464)
        at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:93)
        at org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:92)
        at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:331)
        at org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirementToField(FieldComponentComposer.java:129)
        at org.codehaus.plexus.component.composition.FieldComponentComposer.assembleComponent(FieldComponentComposer.java:73)
        at org.codehaus.plexus.component.composition.DefaultComponentComposerManager.assembleComponent(DefaultComponentComposerManager.java:68)
        at org.codehaus.plexus.DefaultPlexusContainer.composeComponent(DefaultPlexusContainer.java:1486)
        at org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPhase.execute(CompositionPhase.java:29)
        at org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:101)
        at org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:105)
        at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:95)
        at org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:92)
        at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:331)
        at org.codehaus.plexus.embed.Embedder.lookup(Embedder.java:78)
        at hudson.maven.MavenEmbedder.start(MavenEmbedder.java:686)
        at hudson.maven.MavenUtil.createEmbedder(MavenUtil.java:106)
        at hudson.tasks.Maven$MavenInstallation.createEmbedder(Maven.java:420)
        at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:730)
        at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:676)
        at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1283)
        at hudson.remoting.UserRequest.perform(UserRequest.java:92)
        at hudson.remoting.UserRequest.perform(UserRequest.java:46)
        at hudson.remoting.Request$2.run(Request.java:236)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
        at java.lang.Thread.run(Thread.java:619)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16029 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-05 17:59:20 +00:00
jglick b1fe504b7d [FIXED HUDSON-3227] Do not archive empty directories.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16026 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-05 04:58:02 +00:00
jglick c045600a72 NetBeans "quick run" mode for unit tests does not seem to work in this module.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16025 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-05 04:57:22 +00:00
huybrechts 5cbb6f5e38 accounting for spaces in Java path in test case
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15990 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-03 21:19:34 +00:00
huybrechts 8f6338b83e Fixing a bug where a slave has a ToolLocationNodeProperty but some installation does not use it. Also adding test for native Maven2 with ToolLocation
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15989 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-03 21:18:08 +00:00
mindless e2e3ac2e05 [FIXED HUDSON-3168] "return changesFound;" was inside for-loop for multiple locations,
so pollChanges always returned after checking only first location.
Also fixed form field validator to handle unix newlines.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15981 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-03 19:52:56 +00:00
kohsuke 36938c75a3 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15956 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-03 01:20:20 +00:00
kohsuke 2223d8a3fa [maven-release-plugin] prepare release hudson-1_288
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15954 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-03 01:12:27 +00:00
kohsuke d2a8dfb771 handle plugin to plugin dependencies
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15947 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-02 21:55:10 +00:00
huybrechts 3370ee3e31 support for environment variables in native Maven builds
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15927 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-01 20:43:52 +00:00
huybrechts 7aea741545 added comment for handling test failures on windows
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15926 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-01 20:31:35 +00:00
huybrechts b2d911888f changed WarExploder to account for when main directory it not called main
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15925 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-01 20:28:08 +00:00
huybrechts d35f675d3f preferring locally installed Ant
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15924 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-01 20:27:17 +00:00
kohsuke 936f6fb21d [maven-release-plugin] prepare for next development iteration
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15844 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-27 15:33:12 +00:00
kohsuke 7e96622a69 [maven-release-plugin] prepare release hudson-1_287
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15842 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-27 15:32:14 +00:00
kohsuke ff005a685e Fixed a regression in 1.286 about handling form field validations in some plugins.
(<a href="http://www.nabble.com/1.286-version-and-description-The-requested-resource-%28%29-is-not--available.-td22233801.html">report</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15826 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-26 22:24:43 +00:00
kohsuke 9a8b698906 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15783 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-26 18:05:38 +00:00
kohsuke ab540af59b [maven-release-plugin] prepare release hudson-1_286
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15781 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-26 18:03:10 +00:00
kohsuke 5adf399725 introduced another convenience method.
See http://www.nabble.com/No-arg-Descriptor-constructor-td22154193.html

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15773 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-26 02:25:41 +00:00
kohsuke bc30ca651f removed the documents from the archive to trim down the size
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15770 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-26 00:47:32 +00:00
kohsuke c6772d62c5 fixed a test case so that it works on Unix
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15759 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-25 20:18:34 +00:00
kohsuke c5fafc8128 more doc improvements
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15746 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-25 18:29:28 +00:00
huybrechts ae32c90554 [FIXED HUDSON-786] tool locations can be overridden per slave. Currently implemented for JDK, Ant, Groovy.
Plugins that want to benefit from this should implement ToolDescriptor.
See hudson.model.Ant for an example of how to do this in a backward compatible way.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15737 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-25 14:42:59 +00:00
kohsuke ea3cdd2a11 fixed a bug in the checkUrl inference, and added a regression test
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15735 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-25 06:06:04 +00:00
kohsuke cd38e86346 verify that help links work in the configuration page
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15734 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-25 05:44:06 +00:00
kohsuke eb5a64d10b updated UserProperty to support auto registration
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15724 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-25 04:17:10 +00:00
kohsuke 2e70839624 documentation fix and added copyright header
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15714 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-25 01:55:31 +00:00
kohsuke 0c80771feb prefer better static typing
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15710 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-25 01:39:21 +00:00
kohsuke e663289864 DescribableList is designed not to require the set method.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15706 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-25 01:30:59 +00:00
kohsuke 9a71a066e9 fixed a compilation problem
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15689 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 23:12:57 +00:00
kohsuke 8425d50ce3 Adding back Mailer.DESCRIPTOR as everyone depends on it
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15685 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 23:03:07 +00:00
kohsuke b63f162f75 updated Publisher to support auto-discovery.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15683 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 22:53:04 +00:00
kohsuke 1447b7184e fixed test problems
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15672 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 20:04:52 +00:00
kohsuke f72109028a fixed test problems
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15671 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 20:03:16 +00:00
kohsuke d02065c09a improved parameterization of DescriptorExtensionList to better support custom Descriptor type.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15667 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 19:44:48 +00:00
kohsuke 791aab9251 defined a way to contribute ModuleDependencyLocator
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15664 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 19:11:13 +00:00
kohsuke af21daf8d9 added Hudson.getDescriptorByType() to simplify the retrieval of the descriptor instance. Fixed test cases.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15656 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 18:32:42 +00:00
kohsuke 1b766a0861 RepositoryBrowser is updated to support auto registration.
Refactored the ConcurrentHashMap double-if putIfAbsent idiom into the Memoizer class.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15653 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 17:47:32 +00:00
kohsuke cf25766b92 converted Builder to support auto-registration.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15617 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 04:58:40 +00:00
kohsuke 00dfee4963 removed Descriptor.ALL. According to grep this isn't used by any of the official plugins, and because of the type signature, we cannot make this work in the new scheme.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15614 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 00:56:29 +00:00
kohsuke a451ce59c1 converted existing MavenReporters into the auto-discovery based mechanism.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15610 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 00:35:14 +00:00
kohsuke f592d33a7e converting several DescriptorList in a new form
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15604 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-23 23:38:08 +00:00
kohsuke a625a103cf more test cases
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15603 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-23 23:16:51 +00:00
kohsuke 2a1798e08f promoted DescriptorSubList to DescriptorExtensionList so that we can have Descriptor-specific methods.
Added a test case

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15602 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-23 23:13:54 +00:00