Commit Graph
1006 Commits
Author SHA1 Message Date
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
kohsuke b192971291 doc improvement.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3548 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-24 16:07:48 +00:00
kohsuke 4f7d026204 doc improvement.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3547 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-24 15:43:57 +00:00
kohsuke d7b53f2f1c refactored Matrix generation code into a tag.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3546 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-24 06:51:59 +00:00
kohsuke 5e1fd57e63 Fixed a bug. If Combination fails to parse, the method reports IAE.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3545 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-24 06:19:20 +00:00
kohsuke d2bb200c4e added an ugly mechanism to propagate Combination values to builders.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3544 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-24 06:11:02 +00:00
kohsuke 6df6aab741 added one more convenience method.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3543 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-24 05:57:25 +00:00
kohsuke fb1910c4a0 allow subclassing
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3542 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-24 05:39:15 +00:00
kohsuke b021350e1b build numbers of MatrixConfiguration and MatrixProject are linked.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3541 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-24 05:38:14 +00:00
kohsuke 5fbfa1479a build numbers of MatrixConfiguration and MatrixProject are linked.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3540 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-24 05:35:20 +00:00
kohsuke e2a5ec81f9 disabled configuration/deletion/build of MatrixConfiguration.
This is ugly way of implementing this...


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3539 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-24 05:31:23 +00:00
kohsuke b1331076d3 added subset toString() for improved rendering
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3538 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-24 05:17:16 +00:00
kohsuke 1bfae6b5f7 completed the first shot of the matrix rendering.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3537 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-24 05:08:46 +00:00
kohsuke c4a1cf1468 made comparable.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3536 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-24 04:56:39 +00:00