kohsuke
d0078e2c3c
fixed a memory leak issue.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3672 71c3de6d-444a-0410-be80-ed276b4c234a
2007-07-12 13:52:16 +00:00
kohsuke
6276c7402e
fixed a bug where two m2 projects with the same source (for different shcedules etc) horribly confuses the dependency. Reported as #521 .
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3666 71c3de6d-444a-0410-be80-ed276b4c234a
2007-07-12 11:01:15 +00:00
kohsuke
64311e9935
human stupidity is infinite...
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3664 71c3de6d-444a-0410-be80-ed276b4c234a
2007-07-11 23:34:10 +00:00
kohsuke
75cd181d04
persist the cookie ( #580 )
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3658 71c3de6d-444a-0410-be80-ed276b4c234a
2007-07-11 14:06:14 +00:00
kohsuke
d4389bf0ea
improved error diagnostics.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3656 71c3de6d-444a-0410-be80-ed276b4c234a
2007-07-11 14:01:08 +00:00
kohsuke
930eaa6de8
improved diagnostics.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3655 71c3de6d-444a-0410-be80-ed276b4c234a
2007-07-11 13:39:37 +00:00
kohsuke
0bd20ae125
when test fails, artifacts are not installed, so downstream builds are likely to fail. ( #605 )
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3654 71c3de6d-444a-0410-be80-ed276b4c234a
2007-07-11 13:29:06 +00:00
kohsuke
5fa94be0d3
added more convenience method.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3653 71c3de6d-444a-0410-be80-ed276b4c234a
2007-07-11 13:27:40 +00:00
kohsuke
d5e5b12548
improved form field validation for javadoc ( #606 )
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3652 71c3de6d-444a-0410-be80-ed276b4c234a
2007-07-11 13:25:18 +00:00
kohsuke
260004eb10
fixed a bug where the build trigger set always gets re-ordered. ( #608 )
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3651 71c3de6d-444a-0410-be80-ed276b4c234a
2007-07-11 13:16:19 +00:00
kohsuke
95fdd49348
SvnInfo is used as a key for TreeMap. fixed #628 .
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3650 71c3de6d-444a-0410-be80-ed276b4c234a
2007-07-11 11:50:50 +00:00
kohsuke
208bde3e22
added a debug probe.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3632 71c3de6d-444a-0410-be80-ed276b4c234a
2007-07-10 13:03:18 +00:00
kohsuke
dfb4114ac4
fixed a bug in handling trivial axis.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3631 71c3de6d-444a-0410-be80-ed276b4c234a
2007-07-10 00:55:51 +00:00
kohsuke
af60f2b190
improved error diagnosis. the logic that looks into the chained exceptions were wrong.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3629 71c3de6d-444a-0410-be80-ed276b4c234a
2007-07-10 00:42:41 +00:00
kohsuke
206f55619d
added JavaScript string escape function.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3626 71c3de6d-444a-0410-be80-ed276b4c234a
2007-07-09 19:19:35 +00:00
stephenconnolly
3d62293863
Health report should be the report of the last build, not the build that is currently running.
...
Health report should be invisible/empty when there is no health to report. (This had been defaulting to the 40-59% icon, now will display an empty icon (to stop table cell resizing issues)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3624 71c3de6d-444a-0410-be80-ed276b4c234a
2007-07-09 10:47:27 +00:00
kohsuke
06893d07e8
added a probe code.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3620 71c3de6d-444a-0410-be80-ed276b4c234a
2007-07-07 01:24:14 +00:00
kohsuke
292e80355e
these error messages include markup.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3616 71c3de6d-444a-0410-be80-ed276b4c234a
2007-07-03 12:50:30 +00:00
stephenconnolly
872c65bca6
Tidying up HealthReport code to use new utility methods HealthReport.min and HealthReport.max
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3613 71c3de6d-444a-0410-be80-ed276b4c234a
2007-07-02 12:08:57 +00:00
kohsuke
9a3f87a1c2
fixed NPE in the first attempt to call load:
...
Caused by: java.lang.NullPointerException
at hudson.tasks.junit.TestResultAction.getTotalCount(TestResultAction.java:88)
at hudson.tasks.test.AbstractTestResultAction.getBuildHealth(AbstractTestResultAction.java:77)
at hudson.model.Job.getBuildHealth(Job.java:504)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3605 71c3de6d-444a-0410-be80-ed276b4c234a
2007-07-01 23:55:43 +00:00
kohsuke
dcf92d7227
supported XPath selection in the remote API.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3601 71c3de6d-444a-0410-be80-ed276b4c234a
2007-07-01 23:35:06 +00:00
kohsuke
cd94a6edcf
doc improvement.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3598 71c3de6d-444a-0410-be80-ed276b4c234a
2007-07-01 23:15:12 +00:00
kohsuke
8c44186da9
SVN revision number should be in the remote API.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3596 71c3de6d-444a-0410-be80-ed276b4c234a
2007-07-01 07:34:09 +00:00
kohsuke
f23d685ba2
implemented aggregator to create a test report across all MatrixRuns
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3593 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-29 20:24:27 +00:00
stephenconnolly
ef0db42861
Fixing typo
...
Providing Build Stability health report.
Making test results provide health report.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3591 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-28 09:27:48 +00:00
kohsuke
912932f5b0
fixing display names by clearly distinguishing short display name vs full display name.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3590 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-28 07:04:24 +00:00
kohsuke
5657f9703e
formatting changes.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3589 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-28 06:47:31 +00:00
kohsuke
8e9a8d904f
improving the UI.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3588 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-28 06:47:09 +00:00
kohsuke
6a0366e43a
when the build is aborted, abort all the runs.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3587 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-28 05:49:02 +00:00
kohsuke
cd92a6ba3d
return an indicator value.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3586 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-28 05:40:13 +00:00
kohsuke
25e24afae1
avoid putting null in values to avoid NPE.
...
See http://www.nabble.com/forum/ViewPost.jtp?post=11312005&framed=y
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3585 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-28 01:57:26 +00:00
kohsuke
2e3febe521
if no entry is created, we end up trying to write over while we still have one more file handle open.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3584 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-28 01:51:26 +00:00
kohsuke
1fef2944ab
Really makes sure that the stream gets closed.
...
See http://www.nabble.com/changelog.xml-make-me-crazy--%29-tf3991267.html
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3583 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-28 01:49:29 +00:00
kohsuke
b1de3dc3e2
disable the filter if security is not on.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3582 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-28 01:40:32 +00:00
stephenconnolly
4cb49f3911
Fixing some incorrect logic
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3581 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-27 23:37:38 +00:00
stephenconnolly
ac5c79aadf
Making default health controlled from HealthReport.
...
Issue number: 615
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3580 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-27 22:11:11 +00:00
kohsuke
378c070388
use the aggregated result.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3579 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-27 19:24:03 +00:00
stephenconnolly
aa4e921fbc
First part of implementation of issue 615.
...
Need to update changelog once feature complete.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3578 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-27 16:08:07 +00:00
kohsuke
6b41c1f885
keep the master build around while all the configurations are built. This is to avoid next MatrixBuild to start executing while configurations of the previous MatrixBuild is still building.
...
If we don't do this and new MatrixBuild gets scheduled frequently, then it becomes impossible for MatrixBuild to have all its MatrixConfigurations built. Instead, we'd get every MatrixBuild to contain a subset of MatrixRuns, and never get the whole picture.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3577 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-27 05:25:06 +00:00
kohsuke
7637179fb2
Use the timestamp of the build to check out files, just like CVS.
...
For Subversion, this isn't a real problem unlike CVS, but using timestamp should improve the build reproducibility.
This is also necessary for MatrixProject as different MatrixConfigurations need to work off the same workspace.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3576 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-27 05:05:30 +00:00
kohsuke
3dccd18374
MatrixRun log needs to be discarded as new MatrixBuild is created.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3575 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-27 04:59:30 +00:00
kohsuke
0dcfae1946
MatrixRun should use the same timestamp so that SCM can check out the same ws for all configurations.
...
This breaks some of the UI (in some sense) --- for example, the web page would report that the build started 15 mins ago, when in fact it hasn't been sitting in the queue for the most of the time.
The build duration is still computed correctly.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3574 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-27 04:34:40 +00:00
kohsuke
fbbb320a73
make sure there's no codepath that escapes ".close()"
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3567 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-26 16:16:26 +00:00
kohsuke
782ef0cc6f
fixed NPE ( #618 )
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3560 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-25 22:41:58 +00:00
kohsuke
d70d2a6075
SCM setting needs to be inherited from the parent.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3555 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-25 04:48:43 +00:00
kohsuke
643696d3e2
allow derived class to control SCM completely by getScm().
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3554 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-24 22:38:02 +00:00
kohsuke
227b510152
reimplemented the algoritm so that it can handle Job -> Run -> Run path like MatrixProject -> MatrixBuild -> MatrixRun correctly.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3553 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-24 22:37:24 +00:00
kohsuke
e9ff9bd800
no longer necessary.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3552 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-24 17:12:50 +00:00
kohsuke
460e471da4
when the navigation hierarchy is MatrixBuild -> MatrixRun, it's better to use the configuration name as the display name.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3550 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-24 16:29:05 +00:00
kohsuke
a971b22808
added config matrix to the build page, too.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3549 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-24 16:16:30 +00:00