kohsuke
a7769bb812
handle the conflict messages accordingly.
...
These patterns appear in case of merge
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14575 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-17 02:40:07 +00:00
kohsuke
fdc9b81d30
introduced a general-purpose ISVNEventHandler implementation usable from plugins.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14573 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-17 02:05:43 +00:00
kohsuke
c5dc44a6a0
rather, this is a better fix
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14572 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-17 01:12:48 +00:00
kohsuke
3b5333a9ed
bug fix in case channel==null
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14571 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-17 01:11:57 +00:00
kohsuke
2b9dd49c34
Need to set the owner.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14568 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-17 00:34:32 +00:00
kohsuke
fca5cb37ce
Added a convenience method.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14567 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-17 00:33:56 +00:00
kohsuke
abe1def90e
Added a convenience method.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14566 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-16 23:10:56 +00:00
kohsuke
bda4cc37f1
improved default implementation.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14560 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-16 20:23:35 +00:00
kohsuke
d64370cad6
doc improvement.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14559 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-16 20:17:02 +00:00
kohsuke
aae0f88413
[FIXED HUDSON-2840]
...
Implemented this in 1.276. In the recipient list, one can enter "upstream-individuals:PROJECTNAME" to send e-mails to people who made changes in the upstream.
I'll likely keep this undocumented for now, as this way of adding recipients is somewhat inconsistent with an earlier way of doing this, but OTOH, Jane needs this feature for v3 now.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14544 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-16 15:48:04 +00:00
kohsuke
d9db370523
doc improvemetn.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14543 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-16 15:44:47 +00:00
kohsuke
bfcc96bbc9
If a build has no change, e-mail shouldn't link to the empty changeset page.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14541 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-16 15:14:14 +00:00
kohsuke
9505b011a8
I think this was causing the random test failures --- the change in rev.14466 was making the test slaves not to connect initially.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14525 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-15 22:41:05 +00:00
kohsuke
97c8eefef5
added support for obtaining command line arguments on Unix
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14506 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-15 15:21:02 +00:00
kohsuke
81d3749395
making this optional so that I can cut a release.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14501 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-15 02:27:47 +00:00
kohsuke
438b7510a4
Improved error diagnostics. See http://www.nabble.com/InvalidProjectModelException---how-to-determine-cause--tt21466535.html
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14500 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-14 23:31:15 +00:00
kohsuke
8193d06cb8
This change broke JNLPLauncherTest by hiding JNLP launch link.
...
So for now I'm chaging the implementation so that it hides launcher main.jelly if and only the strategy demands to do so,
which is closer to Stephen's original intention (even though this makes the method somewhat inconsistent with its name.)
I'm of opinion that we shouldn't try to hide the launcher, but I'm waiting for Stephen to chime in on that change.
See http://www.nabble.com/Re%3A-svn-commit%3A-r14467---trunk-hudson-main-core-src-main%3A-java-hudson-model-java-hudson-slaves-resources-hudson-model-Computer-tt21465182.html
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14488 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-14 21:44:04 +00:00
kohsuke
78fc5b6d7f
doc improvement
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14485 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-14 21:06:04 +00:00
kohsuke
e20e94d5c2
Added SMF life cycle.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14483 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-14 20:59:18 +00:00
mindless
b656cd8567
[FIXED HUDSON-2843] Util.getTimeSpanString() got exception for times <10 sec
...
on locales with comma as fraction separator. Now passing time value to localizer
as float instead of String.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14480 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-14 18:03:38 +00:00
stephenconnolly
fd98a6512c
When a node is scheduled to not be available, we should not show the manual launch button
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14467 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-14 12:41:43 +00:00
stephenconnolly
925ef1d09d
When Hudson was initially started, it was ignoring the retention strategy and starting all nodes anyway.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14466 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-14 11:31:17 +00:00
stephenconnolly
c5f1ca1d2d
tone logging down a tad
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14465 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-14 11:24:39 +00:00
stephenconnolly
80bc832cab
Fixing a number of issues, and ensuring that the schedule is processed a bit more correctly
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14463 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-14 11:20:14 +00:00
stephenconnolly
3cd3317ee8
Should expose retentionStrategy descriptors via an URL so that they perform parameter validation
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14462 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-14 11:19:05 +00:00
stephenconnolly
a3a7bd1f3f
Doh! Bad copy-paste
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14460 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-14 08:57:40 +00:00
stephenconnolly
500029a424
adding scheduled slave startup
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14446 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-13 16:49:58 +00:00
martinficker
5f5568a2f4
Fix: Let the build fail if Environment.tearDown returns false.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14437 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-13 14:45:37 +00:00
kohsuke
183c25bb31
[HUDSON-2829] I think I fixed this in 1.274. Let me know if that fixes the problem for you.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14414 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-13 02:01:33 +00:00
kohsuke
0210c4bf66
XML API caused NPE when xpath=... is specified.
...
(<a href="https://hudson.dev.java.net/issues/show_bug.cgi?id=2828 ">issue 2828</a>)
Fixed in 1.274.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14413 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-13 01:59:10 +00:00
kohsuke
b81e451b8b
this should do.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14411 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-13 01:28:47 +00:00
kohsuke
5045179bba
rolled back this after seeing a comment from Alan:
...
http://www.nabble.com/Status-Code-400-viewing-or-downloading-artifact-whose-filename-contains-two-consecutive-periods-tt21407604.html
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14410 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-13 01:26:58 +00:00
kohsuke
759d4d90d2
Hudson renders durations in milliseconds if the total duration is very short.
...
(<a href="http://www.nabble.com/Unit-tests-duration-in-milliseconds-tt21417767.html ">report</a>)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14409 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-13 01:11:49 +00:00
kohsuke
e1153d511c
Artifact/workspace browser was unable to serve directories/files that contains ".." in them.
...
(<a href="http://www.nabble.com/Status-Code-400-viewing-or-downloading-artifact-whose-filename-contains-two-consecutive-periods-tt21407604.html ">report</a>)
This was due to a security check.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14408 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-13 00:45:05 +00:00
kohsuke
9bd02f91fe
doc improvement
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14407 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-13 00:25:00 +00:00
kohsuke
bf9d021a2d
On Unix, Hudson will contain symlinks from build numbers to their corresponding build directories.
...
(Also see the previous commit that includes the change where we actually create a symlink.)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14406 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-13 00:04:30 +00:00
kohsuke
c9d107cc87
so this is where we create the .2008-01-23-01-23-45 directory.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14405 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-13 00:02:10 +00:00
kohsuke
7b7ea79178
[FIXED HUDSON-2461] Applied a slightly modified patch. Fixed in 1.274.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14395 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-11 20:12:57 +00:00
kohsuke
1d82e08f35
don't use a deprecated class
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14394 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-11 20:09:07 +00:00
kohsuke
f061322cd9
[FIXED HUDSON-2818] D'oh! Fixed in 1.273.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14361 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-11 02:55:48 +00:00
kohsuke
20a1e63047
Hudson core version update check is reimplemented as AdministrativeMonitor.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14359 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-11 02:30:06 +00:00
kohsuke
6475ff6c4f
[HUDSON-1646] Formalized an extension point to monitor the system for self diagnosis.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14357 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-11 02:17:22 +00:00
kohsuke
c3a48d508c
[HUDSON-1646] Formalized an extension point to monitor the system for self diagnosis.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14356 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-11 02:15:22 +00:00
mindless
044c4ad122
[FIXED HUDSON-2793] Fix from HUDSON-2379 introduced a bug for artifact/workspace
...
filenames with spaces.
- Added new Util.rawEncode which encodes the right set of characters (based on
RFC1738) and deprecated Util.encode which only encodes non-ASCII. Unit test too.
- Change previous fix to use Util.rawEncode instead of URLEncoder.encode
- New fix: add h.xmlEscape call for each displayed filename in artifacts/workspace
so & and < are encoded for HTML display
- Add all these fixes in Run/artifacts-index.jelly which wasn't included before
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14355 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-11 01:58:47 +00:00
kohsuke
cfa07b5024
[HUDSON-1646] In 1.273, Added http://server/hudson/descriptor/hudson.triggers.SCMTrigger/ to show the summary of SCM polling activities and how long it's taking, to assist the trouble-shooting of this issue.
...
From this page, please jump to the polling log page of individual projects, to see why they are stuck.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14354 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-11 01:35:40 +00:00
kohsuke
f71f863f3a
added a centralized monitoring screen for the polling activities.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14353 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-11 00:55:58 +00:00
kohsuke
29abf90a85
modified to take base types into account
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14349 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-10 20:01:56 +00:00
kohsuke
dd0a559666
[HUDSON-2721] I'm still seeing a hang, this time waiting to join a destroyed process.
...
"main" prio=10 tid=0x08070400 nid=0x2 in Object.wait() [0xfe4b3000..0xfe4b5d48]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0xf46f7a40> (a java.lang.UNIXProcess)
at java.lang.Object.wait(Object.java:485)
at java.lang.UNIXProcess.waitFor(UNIXProcess.java:115)
- locked <0xf46f7a40> (a java.lang.UNIXProcess)
at hudson.Proc$LocalProc.join(Proc.java:119)
at hudson.Proc$LocalProc.kill(Proc.java:159)
at hudson.slaves.JNLPLauncherTest.launchJnlpAndVerify(JNLPLauncherTest.java:79)
at hudson.slaves.JNLPLauncherTest.testHeadlessLaunch(JNLPLauncherTest.java:45)
Perhaps somehow it's failing to destroy the child process? The child process stack trace indicates no trace of being terminated.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14348 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-10 19:23:17 +00:00
kohsuke
eabc1a198b
JNLP slave agents is made more robust in the face of configuration errors.
...
(<a href="http://d.hatena.ne.jp/w650/20090107/1231323990 ">report</a>)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14337 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-10 09:13:28 +00:00
kohsuke
5a56169ba8
Remote XML API now suports the 'exclude' query parameter to remove nodes that match the specified XPath.
...
(<a href="http://d.hatena.ne.jp/masanobuimai/20090109#1231507972 ">report</a>)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14336 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-10 08:38:30 +00:00