Commit Graph
361 Commits
Author SHA1 Message Date
kohsuke ed25e115e2 configuration roundtrip test case
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16466 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-23 03:56:12 +00:00
kohsuke 72242fcddf Merged revisions 16380-16381,16433,16435,16438 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r16380 | kohsuke | 2009-03-19 17:10:38 -0700 (Thu, 19 Mar 2009) | 1 line
  
  PeriodicWork change broke the tests, because the timer registration wasn't kicking in
........
  r16381 | kohsuke | 2009-03-19 17:33:14 -0700 (Thu, 19 Mar 2009) | 1 line
  
  fixed a test so that it's no longer timing sensitive
........
  r16433 | kohsuke | 2009-03-20 18:35:55 -0700 (Fri, 20 Mar 2009) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_293
........
  r16435 | kohsuke | 2009-03-20 18:36:21 -0700 (Fri, 20 Mar 2009) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r16438 | kohsuke | 2009-03-20 19:10:29 -0700 (Fri, 20 Mar 2009) | 1 line
  
  updated changelog as a part of the release
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16441 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-21 02:14:25 +00:00
kohsuke d2c4999a80 test case for capturing output from Maven
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16412 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-20 23:15:32 +00:00
kohsuke 8962a43c01 monitor the HUDSON_HOME consumption by itself
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16365 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-18 21:47:34 +00:00
kohsuke 36ce3b825b supported a form with multiple submit buttons
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16364 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-18 17:24:00 +00:00
kohsuke 0db57d2902 doc improvement
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16362 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-18 02:22:11 +00:00
kohsuke 86548f1850 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16234 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-14 01:49:52 +00:00
kohsuke db8b7f6517 [maven-release-plugin] prepare release hudson-1_292
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16232 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-14 01:05:57 +00:00
kohsuke a9c2567127 We might be handling environment variables for a slave that can have different path separator than the master, so this is an attempt to get it right. It's still more error prone that I'd like, but this should mostly work for our usage pattern.
The real problem is that AbstractBuild.getEnvVars() is designed to return overrides, not the whole thing. This was OK until recently, when we started using environment variables to eagerly perform variable expansions inside Builder/Publisher, which requires them to see the entire variables.
 


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16226 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-13 21:55:02 +00:00
kohsuke 8f18fd0523 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16162 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-11 02:19:31 +00:00
kohsuke d5cc7ab394 [maven-release-plugin] prepare release hudson-1_291
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16160 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-11 02:19:06 +00:00
jglick 5b28310d28 [FIXED HUDSON-3267] api/xml?xpath=...&wrapper=... behaved inconsistently for results of size 0 or 1.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16157 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-11 01:19:07 +00:00
kohsuke c94bdaa30d [maven-release-plugin] prepare for next development iteration
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16079 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-07 00:38:23 +00:00
kohsuke 68bc9ab122 [maven-release-plugin] prepare release hudson-1_290
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16077 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-07 00:37:22 +00:00
kohsuke e7abed5acc fixed a bug in the test case
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16076 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-07 00:15:52 +00:00
kohsuke abe8631fe1 improved failure reporting in case of error
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16075 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-07 00:15:42 +00:00
huybrechts 4be1e18284 add a smoke test for native Maven projects on master and slave
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16074 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-06 23:31:29 +00:00
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