kohsuke
05901476a3
improved efficiency
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7448 71c3de6d-444a-0410-be80-ed276b4c234a
2008-03-08 18:31:42 +00:00
kohsuke
c55e36eec6
addd a method to read all data through Reader.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7447 71c3de6d-444a-0410-be80-ed276b4c234a
2008-03-08 18:29:49 +00:00
kohsuke
e43827e978
simplified a bit.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7445 71c3de6d-444a-0410-be80-ed276b4c234a
2008-03-08 18:02:56 +00:00
kohsuke
c419fc9ccc
send the user back to the page.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7444 71c3de6d-444a-0410-be80-ed276b4c234a
2008-03-08 17:40:44 +00:00
kohsuke
a1930be131
Extracted TaskAction/TaskThread from AbstractSCMTagAction, and reused it to build Maven redeployment support.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7442 71c3de6d-444a-0410-be80-ed276b4c234a
2008-03-08 16:51:21 +00:00
kohsuke
ac1a040c21
doc improvement.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7437 71c3de6d-444a-0410-be80-ed276b4c234a
2008-03-08 06:11:13 +00:00
kohsuke
7c1817556f
doc improvement.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7436 71c3de6d-444a-0410-be80-ed276b4c234a
2008-03-08 06:10:26 +00:00
kohsuke
863c44f152
implemented the multi-module deployment.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7434 71c3de6d-444a-0410-be80-ed276b4c234a
2008-03-08 06:07:39 +00:00
kohsuke
ed5f74541a
modifying the maven artifact archiver so that Hudson can support after-the-fact redeployment of artifacts. More work to be done, but I need to head home for the day, and I want to work on it from home.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7431 71c3de6d-444a-0410-be80-ed276b4c234a
2008-03-08 02:41:54 +00:00
kohsuke
182c6fecf9
fixed a doc error.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7430 71c3de6d-444a-0410-be80-ed276b4c234a
2008-03-08 02:30:02 +00:00
kohsuke
b7f44ae34b
avoid double invocations for explicitly configured dependencies.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7428 71c3de6d-444a-0410-be80-ed276b4c234a
2008-03-08 01:12:05 +00:00
kohsuke
c9693951dc
simplified a bit.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7427 71c3de6d-444a-0410-be80-ed276b4c234a
2008-03-08 01:07:44 +00:00
kohsuke
fac029bcfc
doc update
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7425 71c3de6d-444a-0410-be80-ed276b4c234a
2008-03-07 21:57:12 +00:00
kohsuke
e0b990628a
Since my repdeployment of Hudson to my production system last evening, I noticed a significant performance problem in loading some pages, which eventually turn out to be due to excessive Fingerprint loading activity.
...
Upon doing some research (namely addition of the performance counters), it appears that WeakReferences are losing their values too quickly. This is bit mysterious as the Hudson JVM still had plenty of memory left, according to VisualGC. But in any case, I'm changing WeakReference to SoftReference. The package javadoc of java.lang.ref <http://java.sun.com/j2se/1.4.2/docs/api/java/lang/ref/package-summary.html > is rather vague about what the expected behaviors are, but it does say that SoftReference is for memory-sensitive cache, which is what Fingerprint is all about.
I deployed this version and confirmed that it fixed the performance problem.
Incidentally Eric Ramfelt sent an e-mail this morning <http://www.nabble.com/Maven-job-5-times-slower-than-a-free-style-job--tt14651245.html >, which could be of the same cause.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7416 71c3de6d-444a-0410-be80-ed276b4c234a
2008-03-07 18:51:17 +00:00
kohsuke
8669e66ef8
Hudson now tries to automatically attempt to reconnect slaves after a failure ( #1364 )
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7397 71c3de6d-444a-0410-be80-ed276b4c234a
2008-03-07 06:15:02 +00:00
kohsuke
34397bb684
fixed the dependency computation in MatrixProject.
...
Upstream/downstream now shows up in the UI, too.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7396 71c3de6d-444a-0410-be80-ed276b4c234a
2008-03-07 05:46:27 +00:00
kohsuke
8624030fdc
downstream triggering should only happen at the aggregated level, not at individual run level ( #1371 )
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7394 71c3de6d-444a-0410-be80-ed276b4c234a
2008-03-07 05:28:20 +00:00
kohsuke
2778d3f0ce
Expanded fingerprint relationship to work with ItemGroup/Item hierarchy. This is necessary so that the fingerprint owned by a MavenBuild can be attributed to the parent MavenModuleSetBuild.
...
Ditto for matrix job.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7384 71c3de6d-444a-0410-be80-ed276b4c234a
2008-03-07 01:19:51 +00:00
kohsuke
7bfab380c1
added the glorified version of the is method.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7382 71c3de6d-444a-0410-be80-ed276b4c234a
2008-03-07 01:11:03 +00:00
kohsuke
bc757de265
JobProperty should be invoked for Maven2 builds as well.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7381 71c3de6d-444a-0410-be80-ed276b4c234a
2008-03-07 00:57:38 +00:00
kohsuke
02983c4c5d
Started implementing the after-the-fact deployment support.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7380 71c3de6d-444a-0410-be80-ed276b4c234a
2008-03-07 00:41:53 +00:00
kohsuke
c50348983d
adding a convenient base class.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7379 71c3de6d-444a-0410-be80-ed276b4c234a
2008-03-07 00:29:26 +00:00
dwdyer
82c37f6e91
Fix for ISSUE#1362 (skipped tests not included in aggregated test result graph).
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7377 71c3de6d-444a-0410-be80-ed276b4c234a
2008-03-06 21:50:57 +00:00
kohsuke
15eccb8b85
fixed a bug in the form field validation of pom.xml
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7376 71c3de6d-444a-0410-be80-ed276b4c234a
2008-03-06 20:24:48 +00:00
redsolo
3405966f97
Added setLogEntry() to Path so Path can be used when testing annotators.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7372 71c3de6d-444a-0410-be80-ed276b4c234a
2008-03-06 15:33:24 +00:00
kohsuke
3ca6c9e07d
reflect dynamic changes right away.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7356 71c3de6d-444a-0410-be80-ed276b4c234a
2008-03-06 07:39:50 +00:00
kohsuke
572f03cdbc
i18n
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7351 71c3de6d-444a-0410-be80-ed276b4c234a
2008-03-06 00:09:14 +00:00
mstarzyk
a662a6514d
Skipped parsing of testng report files by maven surefire reporter. Fixes #1337 .
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7333 71c3de6d-444a-0410-be80-ed276b4c234a
2008-03-05 09:48:37 +00:00
kohsuke
35f1a6bc8e
this should be consistent with the build history view.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7323 71c3de6d-444a-0410-be80-ed276b4c234a
2008-03-05 02:13:34 +00:00
kohsuke
3b7ed606ec
better consolidate.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7322 71c3de6d-444a-0410-be80-ed276b4c234a
2008-03-05 02:13:11 +00:00
kohsuke
dbf80b1753
cap the size of the listing because the list will be otherwise too long.
...
Dynamic expansion like the one seen in the build history view would be great.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7321 71c3de6d-444a-0410-be80-ed276b4c234a
2008-03-05 02:08:38 +00:00
kohsuke
e0f0cd6762
Applied a patch for #1174 , but after a refactoring to reuse the jelly fragment.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7320 71c3de6d-444a-0410-be80-ed276b4c234a
2008-03-05 02:03:49 +00:00
kohsuke
477f0884c0
implemented an algorithm that does the smarter Y-axis auto ranging. ( #1246 )
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7319 71c3de6d-444a-0410-be80-ed276b4c234a
2008-03-05 01:42:58 +00:00
kohsuke
5812c17127
reverting my last change.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7317 71c3de6d-444a-0410-be80-ed276b4c234a
2008-03-04 21:30:34 +00:00
kohsuke
b076630e8d
I don't like using an Error here, but too late to introduce a checked exception.
...
I suppose the justification could be that this error is meant to really just abort the processing right there, so it's somewhat akin to ThreadDeath.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7316 71c3de6d-444a-0410-be80-ed276b4c234a
2008-03-04 21:30:14 +00:00
kohsuke
90e6be745d
fixing a compilation error.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7315 71c3de6d-444a-0410-be80-ed276b4c234a
2008-03-04 21:27:43 +00:00
kohsuke
0cb7565195
allowing this to be enabled from system property.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7314 71c3de6d-444a-0410-be80-ed276b4c234a
2008-03-04 21:23:57 +00:00
kohsuke
2159e65582
adding a new serialization format that makes the fingerprint record more compact (and hopefully faster to read/write.)
...
The feature is not online yet, as this will prevent people from going back to older version of Hudson (which sometimes people do when they face issues in a newer version.)
So the plan is to let it sit there for a while, and after 10 releases or so, we'll make a switch to make this live.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7313 71c3de6d-444a-0410-be80-ed276b4c234a
2008-03-04 21:23:26 +00:00
kohsuke
df19932e01
formatting changes.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7312 71c3de6d-444a-0410-be80-ed276b4c234a
2008-03-04 21:18:50 +00:00
kohsuke
59c9edfa38
if people manually access the page that expects a form submission, complain gracefully.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7311 71c3de6d-444a-0410-be80-ed276b4c234a
2008-03-04 21:11:56 +00:00
kohsuke
347df5a671
allowing public access as this is a getter
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7297 71c3de6d-444a-0410-be80-ed276b4c234a
2008-03-04 15:36:01 +00:00
kohsuke
153d410b50
doc improvement.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7296 71c3de6d-444a-0410-be80-ed276b4c234a
2008-03-04 15:04:00 +00:00
kohsuke
ecc470b67a
adding one more convenience method to add a JobProperty programatically
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7295 71c3de6d-444a-0410-be80-ed276b4c234a
2008-03-04 14:39:17 +00:00
kohsuke
52ade6e3d5
exposing HUDSON_URL as the environment variable.
...
See http://www.nabble.com/Hudson-port-avaiable-in-Ant--tp15756943p15756943.html
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7286 71c3de6d-444a-0410-be80-ed276b4c234a
2008-03-04 02:41:07 +00:00
kohsuke
0992e7deac
adding logging to measure the performance of fingerprint activity.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7282 71c3de6d-444a-0410-be80-ed276b4c234a
2008-03-04 02:21:29 +00:00
dwdyer
9461a882d5
Fix for ISSUE#1284 (password field not displayed on user page when using Hudson's own user database).
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7262 71c3de6d-444a-0410-be80-ed276b4c234a
2008-02-29 23:35:44 +00:00
kohsuke
8986a2b4a2
invoke Ant with the current directory set to the dirctory that contains build.xml. While the -f option can take a path, sometimes build scripts break when we run it like this, as not many people test this configuration.
...
See http://www.nabble.com/Base-dir-issue-when-running-Ant-JUnit-task-tt15727188.html
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7257 71c3de6d-444a-0410-be80-ed276b4c234a
2008-02-29 14:50:29 +00:00
kohsuke
e0ae626430
adding a convenience method.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7256 71c3de6d-444a-0410-be80-ed276b4c234a
2008-02-29 14:22:23 +00:00
kohsuke
ae21c04b8d
this can be static
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7255 71c3de6d-444a-0410-be80-ed276b4c234a
2008-02-29 14:21:26 +00:00
kohsuke
032788d793
improving error detection for Ant 1.6.5
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7253 71c3de6d-444a-0410-be80-ed276b4c234a
2008-02-29 14:10:14 +00:00