Commit Graph
4208 Commits
Author SHA1 Message Date
mindless d08181bb82 [FIXED HUDSON-5072] use Util.rawEncode in getViewUrl so spaces are encoded
(as done in AbstractItem.getShortUrl)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24707 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-19 01:04:32 +00:00
kohsuke 66acb4d739 [FIXED HUDSON-2552] Applied a modified version of the patch that improves the usability and code reuse
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24705 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-18 23:18:38 +00:00
kohsuke 11f60f6f0e [HUDSON-2552] rolling back rev.24702 to apply my modified version of the patch
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24704 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-18 23:17:52 +00:00
davidmc24 a146fd1105 [FIXED HUDSON-2552] Added the ability to configure low-disk space thresholds.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24702 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-18 20:39:50 +00:00
kohsuke 7c13d9c846 added a wrapper around SFTPv3Client to make it sane.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24700 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-18 20:30:31 +00:00
kohsuke 5b9e785674 added the rename system call
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24691 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-18 02:04:45 +00:00
jglick 16a1cadbe1 [HUDSON-5097] Better diagnostics.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24680 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-17 17:56:53 +00:00
kohsuke bea7fbda4c [FIXED HUDSON-5066] avoid the use of deleteOnExit if the timing to delete the file is known.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24673 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-17 02:15:05 +00:00
mindless f1314b3896 [FIXED HUDSON-5074] expose upstream cause details via remote API
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24655 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-16 17:13:06 +00:00
lacostej 2a5945e56b reuse IOException2
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24654 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-16 16:48:57 +00:00
lacostej 0c9a22f07e indentation
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24653 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-16 16:48:36 +00:00
abayer c809404615 [FIXED HUDSON-2932] Maven projects now properly fall back through project-defined MAVEN_OPTS to globally-defined MAVEN_OPTS to executor environment variable MAVEN_OPTS - also added globally-defined MAVEN_OPTS and related changes
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24652 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-16 14:47:49 +00:00
pgweiss 84bca061dc Another fix for non-concurrent builds being built concurrently.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24637 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-15 19:24:11 +00:00
lacostej 53c8bb4b64 cleanup: reorder instructions
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24610 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-15 08:52:59 +00:00
kohsuke b3553d68cf added a convenience method
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24596 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-14 18:01:43 +00:00
kohsuke e1c2f1c39a Merged revisions 24563,24572,24574,24578 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r24563 | kohsuke | 2009-12-11 10:49:04 -0800 (Fri, 11 Dec 2009) | 1 line
  
  keep track of the init level to delay the loading of ExtensionList.
........
  r24572 | kohsuke | 2009-12-11 15:36:06 -0800 (Fri, 11 Dec 2009) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_337
........
  r24574 | kohsuke | 2009-12-11 15:36:27 -0800 (Fri, 11 Dec 2009) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r24578 | kohsuke | 2009-12-11 16:17:46 -0800 (Fri, 11 Dec 2009) | 1 line
  
  updated changelog as a part of the release
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24595 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-14 16:48:09 +00:00
kohsuke 0666a470e7 bug fix
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24575 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-12 00:00:16 +00:00
kohsuke 20ddad5939 correcting typo
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24571 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-11 23:33:37 +00:00
kohsuke b075de5f02 added a probe for detecting Descriptor not found problem, which is most likely caused by getExtensionList that's too eagerly done.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24562 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-11 17:12:57 +00:00
mindless b88fa252ee include plugin name in "is disabled" log message
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24560 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-11 05:19:36 +00:00
mindless f62814d91a ensure we init before plugins, in case plugins cause any logging
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24559 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-11 04:09:07 +00:00
kohsuke 64f1d19017 I was counting on the new spell checker of IntelliJ IDEA 9.0, but it still doesn't beat Jesse.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24537 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-09 23:51:26 +00:00
kohsuke 6b91411350 defined a setter for the quiet period.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24536 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-09 23:37:10 +00:00
kohsuke 6fa3acf8a9 [HUDSON-4873] follow up change to rev.23980. Since flyweight support ignores the node availability, it bypasses the buildable state completely, which in turn means it now ignores other checks that buildable state did, namely to see if Hudson was quietting down.
Modified code so that FlyweightTask doesn't get started if Hudson is quieting down.

I feel like Queue is getting too complex.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24492 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-09 02:09:04 +00:00
kohsuke c154d431f0 [HUDSON-5048] Fixed the multi-classloader support in the remoting code. I confirmed that this fixes HUDSON-4993 without modifying the warnings/analysis-core plugin.
I'm letting Hudson run the whole test suite to see if there's any regression caused by this.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24490 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-09 01:45:57 +00:00
kohsuke 06401132b3 Auto installer for Maven couldn't be configured after the fact.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24478 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-08 19:34:10 +00:00
kohsuke af4d1c373c Fixed <tt>OutOfMemoryError</tt> in JNLP slaves that are running for too long.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24468 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-08 00:31:24 +00:00
kohsuke 26f290b5b7 fixed a compilation problem. I think this reads better than a two-arg "isNewerThan"
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24466 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-08 00:09:45 +00:00
kohsuke a19306af47 added a new tag to bind a set of enum constants to a series of checkboxes
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24463 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-07 23:25:08 +00:00
abayer ad172c7662 [HUDSON-4983] Change to automatically install plugins when they're listed in the dependencies section (except for maven-plugin) - still needs more testing
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24461 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-07 20:32:53 +00:00
mindless 5bd9d53592 [HUDSON-5023] be more verbose.. write full exception detail in both job console and java Logger,
instead of just writing just e.getMessage() to Logger.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24459 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-07 19:09:52 +00:00
abayer 162f1b1912 [FIXED HUDSON-5023] Subsequent publishers should still run even if an earlier publisher throws an exception
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24433 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-06 18:39:34 +00:00
mindless a13016c2c2 [FIXED HUDSON-4976] Add per-directory sorting for artifact list and tree display.
Also, always show a link to directory browser (as "download as zip" is accessible here)
instead of only when there are 40+ artifacts.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24413 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-05 17:42:54 +00:00
kohsuke 0766f1f5f1 modified to use the new convenience method
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24408 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-05 14:17:30 +00:00
kohsuke 449aba7570 added a convenience method.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24407 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-05 14:15:36 +00:00
kohsuke b4deb9e5cd simplified slightly
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24388 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-04 00:41:28 +00:00
kohsuke 6393ed3966 added firing method
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24386 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-04 00:38:32 +00:00
kohsuke 52066f6440 added symlink resolution code
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24373 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-03 14:15:46 +00:00
kohsuke 213ae6991d formatting change
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24338 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-03 00:01:15 +00:00
kohsuke 5e710e05c6 fingerprint is configured if there's a Fingerprinter, so the default configuration should do.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24316 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-02 13:48:39 +00:00
kohsuke bfd1ea3bee simplified a bit
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24315 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-02 13:47:39 +00:00
mindless a662c06541 Group available plugins by category in PluginManager, using data from wiki.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24292 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-01 20:28:37 +00:00
kohsuke d69a5351f6 enhancing IO convenience code.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24281 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-01 14:37:57 +00:00
kohsuke 8f8e4c3097 I reinvented the wheel without realizing I had the Service class already. Consolidating.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24279 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-01 14:22:22 +00:00
huybrechts ef74dc027c [FIXED HUDSON-4488] added job name, run number to exported api for Run parameter value
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24217 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-29 20:31:34 +00:00
huybrechts 2deb95e6a3 [FIXED HUDSON-4925] optional filtering by view for the build executors status and build queue
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24184 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-28 20:54:10 +00:00
kohsuke 013758b2f5 [FIXED HUDSON-936] in 1.337 by moving out the start method from Executor.
Since not many code will own Executors, for now I didn't introduce any wrapper to hide the start method invocation.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24159 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-28 15:19:21 +00:00
kohsuke 53b8f8a518 [HUDSON-936] Applied the patch from pcc.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24149 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-28 00:56:25 +00:00
kohsuke bd775698b9 Merged revisions 24110-24112 via svnmerge from
https://svn.dev.java.net/svn/hudson/branches/rc

........
  r24110 | kohsuke | 2009-11-25 17:14:49 -0800 (Wed, 25 Nov 2009) | 22 lines
  
  On my production server I started seeing a strange NPE
  like this:
  
  java.lang.NullPointerException
      at hudson.model.Label.contains(Label.java:277)
      at hudson.model.Queue$JobOffer.canTake(Queue.java:177)
      at hudson.model.Queue$ApplicableJobOfferList.(Queue.java:767)
      at hudson.model.Queue$ApplicableJobOfferList.(Queue.java:759)
      at hudson.model.Queue.pop(Queue.java:684)
      at hudson.model.Executor.grabJob(Executor.java:161)
      at hudson.model.Executor.run(Executor.java:103)
  
  The only possibility is that the getNodes() is returning null,
  and that's only possible if Label.getNodes() returns null,
  which in turn is only possible if the assignment to nodes
  is overwritten by the reset method before it's used as a
  return value.
  
  This fix should eliminate the possibility that the getNodes()
  method return null.
........
  r24111 | kohsuke | 2009-11-25 17:15:45 -0800 (Wed, 25 Nov 2009) | 2 lines
  
  Actually, getNodes() has another possibility of such a data race.
........
  r24112 | kohsuke | 2009-11-25 17:24:27 -0800 (Wed, 25 Nov 2009) | 1 line
  
  typo
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24127 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-26 09:10:31 +00:00
kohsuke cf22345820 [FIXED HUDSON-4820] Fallback gracefully if JNA is not available.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24103 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-25 23:21:17 +00:00