Commit Graph
978 Commits
Author SHA1 Message Date
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
kohsuke 550aaec030 implemented table layouter.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3534 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-23 23:52:21 +00:00
kohsuke da9b00a783 implemented user-defined axis support.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3533 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-23 23:23:36 +00:00
kohsuke fff52d4b09 inherit log rotation setting from the master project.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3532 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-23 22:33:41 +00:00
kohsuke 2efb071a95 started implementing layouter.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3531 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-23 22:27:59 +00:00
kohsuke f2ccaf33a8 bug fix.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3530 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-23 22:27:41 +00:00
kohsuke d8225ca3d5 initial configuration needs to be saved or no config.xml is created.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3529 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-23 21:43:34 +00:00
kohsuke 0cf6414172 renamed to get around the compiler bug in IntelliJ.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3528 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-23 21:39:26 +00:00
kohsuke ad01761e26 Project/Build are made abstract and their concrete counterparts are now called FreeStyleProject/Build.
The data files should be still compatible, but need to test thoroughly before the next release.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3527 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-23 21:37:46 +00:00
kohsuke e76bd8154f initial commit for the multi-config matrix project type, which is useful for running tests and builds on a large number of semi-identical (but different) configurations.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3525 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-23 18:36:07 +00:00
kohsuke 3f7e266dec fixed a bug introduced when Node is abstracted to Label.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3524 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-23 18:18:17 +00:00
kohsuke a537e6aad0 added a method to check emptiness.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3523 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-23 18:17:40 +00:00
kohsuke 4765e84dfa made a bit more forgiving.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3522 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-23 18:16:12 +00:00
kohsuke d35fc2f6e3 made a bit more forgiving.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3521 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-23 18:13:39 +00:00
kohsuke 07f4117582 added one more utility method.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3520 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-23 16:56:11 +00:00
kohsuke 192458c19d doc improvement.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3519 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-23 16:16:25 +00:00
kohsuke 1116399c76 doc fix.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3518 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-23 15:47:16 +00:00
kohsuke 3acbd24ada don't rely on Project.getWorkspace() when the ws is given as a parameter.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3517 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-23 15:45:06 +00:00
kohsuke da0a646702 doc improvement.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3516 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-23 15:39:33 +00:00
kohsuke a8b7f83261 moved the common logic up to AbstractProject.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3515 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-23 15:04:34 +00:00
kohsuke 3de6f9ba05 added a method to check if a label is a self label.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3513 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-23 14:28:05 +00:00
kohsuke cd3f771794 making more configuration pieces individually reusable.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3509 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-23 05:07:14 +00:00
kohsuke 176b8fb0b2 wasn't supposed to be committed.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3507 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-23 05:00:16 +00:00
kohsuke cadb360b14 allowing individual configuration parts to be reusable, so that adding a custom project type becomes easy.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3505 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-23 04:51:11 +00:00
kohsuke 8cb637828a formatting changes.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3503 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-23 04:08:12 +00:00
kohsuke 8ebd0d2d27 better type safety
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3502 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-23 04:07:42 +00:00
kohsuke c3b37f4760 replaced abstract methods with the direct constructor invocation to make it easier to define AbstractProject subtypes.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3501 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-23 03:52:02 +00:00
kohsuke a5ac77ebb6 fixed #614 and #292. When the executor thread is interrupted, it is handled as an abort, not as a failure.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3499 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-22 01:14:05 +00:00
kohsuke c99e53c534 fixed #612
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3498 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-22 00:44:11 +00:00