Commit Graph

35950 Commits

Author SHA1 Message Date
kohsuke 8dd1446d3b modified to report an exit code upon a failure.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1163 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-18 17:02:17 +00:00
kohsuke 96f06f1dda fixed #150.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1162 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-18 16:56:11 +00:00
kohsuke 38024d9951 modified to suggest a likely name.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1161 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-18 16:45:58 +00:00
kohsuke a84b6acc78 adding CDDL-licensed EditDistance code (that I wrote for JAXB)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1160 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-18 16:38:18 +00:00
kohsuke 8779e2dbdf also added the same feature to the trigger.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1159 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-18 16:33:24 +00:00
kohsuke a275556df6 implemented a validation for the build trigger.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1158 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-18 16:28:59 +00:00
kohsuke e3969834b4 fixed #162.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1157 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-18 15:04:09 +00:00
kohsuke d6ea370f5c added.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1156 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-18 14:56:38 +00:00
kohsuke efbb3fcc84 fixed #159.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1155 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-18 14:54:30 +00:00
kohsuke 8daf7ca476 send back the user where he came from.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1154 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-18 14:52:59 +00:00
kohsuke 2a80399f2e ball colors are now enums for better type safety.
This also fixed #160.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1153 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-18 14:41:13 +00:00
kohsuke 84e0676229 ball colors are now enums for better type safety.
This also fixed #160.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1152 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-18 14:30:18 +00:00
kohsuke 1ac73aa959 provide some helpful description instead of empty page, if the polling hasn't run yet.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1151 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-18 14:15:06 +00:00
kohsuke fdf14911ca fixed #163.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1150 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-18 14:10:19 +00:00
kohsuke 462e533a3d fixed #165.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1149 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-18 13:59:44 +00:00
kohsuke 2c6a3afdd6 this is probably better.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1148 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-18 13:42:47 +00:00
kohsuke 677a7fa758 added a log message so that we can better understand #167.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1147 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-18 13:41:39 +00:00
kohsuke 9793a71e28 improved error diagnostics.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1146 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-18 01:31:49 +00:00
kohsuke 955c836fc4 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1143 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-17 18:05:44 +00:00
kohsuke f6fcb2d7dd [maven-release-plugin] prepare release hudson-1_62
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1141 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-17 18:04:24 +00:00
kohsuke d33272dfa8 resolving conflict
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1140 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-17 18:02:13 +00:00
kohsuke 333833c8f8 fixed a bug revealed by the reduced external job reloading cycle.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1138 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-17 14:43:01 +00:00
kohsuke a0bf5e2390 forgot to add this annotation.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1136 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-16 17:00:20 +00:00
kohsuke 6cfb539d90 fixed a bug where the change in the tag lib jelly/groovy scripts were not reflected to running Jetty in real time when using "mvn jetty:run".
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1135 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-16 16:55:01 +00:00
kohsuke 7cf9e5771c Fixed #145.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1134 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-16 16:46:18 +00:00
kohsuke 9453611202 implemented #152.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1133 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-16 16:36:02 +00:00
kohsuke a2b9eaee30 implemented #152.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1132 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-16 16:29:56 +00:00
kohsuke 4de81f1eb3 fixed a bug where XStream activity in plugins wasn't able to resolve classes.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1131 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-16 15:34:59 +00:00
kohsuke 54db1b536f updated to reflect my new release procedure.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1129 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-16 14:36:52 +00:00
kohsuke 6a186623c1 modified the Descriptor persistence scheme.
We used to use Map<String,Object> as a data store for Descriptor, but this requires a lot of boiler plate code to move values in/out from this Map, making the code uglier.
I modified this to just use XStream like the rest of the Hudson, so that the information can be persisted by simply storing them in fields.
Existing Descriptors are enhanced so that they can convert formats from pre-1.62 XML format.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1126 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-16 14:34:02 +00:00
vsizikov 329891f83e Fixed a bug where empty list of recipients of build notification messages causes NPE in Mailer component.
Submitted by:  Vladimir Sizikov
Reviewed by:   Kohsuke

CVS: ----------------------------------------------------------------------
CVS: Issue number:
CVS:   If this change addresses one or more issues,
CVS:   then enter the issue number(s) here.
CVS: Obtained from:
CVS:   If this change has been taken from another system,
CVS:   then name the system in this line, otherwise delete it.
CVS: Submitted by:
CVS:   If this code has been contributed to the project by someone else; i.e.,
CVS:   they sent us a patch or a set of diffs, then include their name/email
CVS:   address here. If this is your work then delete this line.
CVS: Reviewed by:
CVS:   If we are doing pre-commit code reviews and someone else has
CVS:   reviewed your changes, include their name(s) here.
CVS:   If you have not had it reviewed then delete this line.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1124 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-15 15:01:18 +00:00
kohsuke dbda530513 implemented #151.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1122 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-15 02:29:54 +00:00
kohsuke ca7d7a8dcc applied a patch in issue #155.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1121 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-15 01:07:44 +00:00
kohsuke ecfeeb2fc2 Reducing the reload cycle to once in a minute, due to the high overhead caused by this.
Modern version of Hudson uses a job result submission via HTTP, so this shouldn't really be an issue at all.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1120 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-15 01:03:57 +00:00
kohsuke bb8b279d3c [maven-release-plugin] prepare for next development iteration
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1115 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-14 01:59:57 +00:00
kohsuke 1b3fa56432 [maven-release-plugin] prepare release hudson-1_61
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1113 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-14 01:58:46 +00:00
kohsuke 31d4e48deb implemented EXECUTOR_NUMBER variable.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1112 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-13 22:29:58 +00:00
kohsuke 5543c7713b added a parameter to the Trigger callback.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1109 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-12 22:54:15 +00:00
kohsuke ec7804abbd made public.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1104 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-12 20:53:16 +00:00
kohsuke 8bdbf7a5b2 supported methods to add/remove triggers externally.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1103 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-12 20:53:02 +00:00
kohsuke 78c3ed7fa5 doc improvement.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1102 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-12 20:52:26 +00:00
kohsuke 43a6b19ecb doc update.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1100 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-12 18:17:34 +00:00
kohsuke baff64ebac accept relative HUDSON_HOME.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1075 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-10 23:33:14 +00:00
kohsuke d95d16209a fixed #149.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1074 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-10 18:41:08 +00:00
kohsuke f1d6573fff applied Vladimir's patch.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1073 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-10 18:30:39 +00:00
kohsuke 588ac2c612 log -> build terminology change.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1072 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-10 18:13:50 +00:00
kohsuke 86289b7c58 follow up on issue #25. Modified to display the reason why a build cannot be deleted.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1071 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-10 18:12:44 +00:00
kohsuke e74b0f7682 if there was an error, it's better to send an error message.
If you just return, it will cause an empty page to be rendered, leaving the user clue-less.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1068 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-09 22:56:11 +00:00
vsizikov 0175da493e Issue number: #25 - "Ability to delete a log/build"
Contrubuted by:  Vladimir Sizikov
Reviewed by:   Kohsuke

So, a new button, similar to "Keep this log" was added: "Delete this build".

The new button only enabled if the build is not marked with "keep this
log forever" - there is no need to delete a build if the user explicitly
stated that this build must be preserved.

When user click on the "Delete" button, he is redirected to
confirmation page, similar to what is currently available for "Delete
Project".

We once again double-check that it's OK to delete the build, and there
are no other projects that depend on this build and wish it to stay.

If we see that the build should not be deleted, a warning shown to
user.

If it's OK to delete the build and user clicks "Yes" button, we delete
it.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1067 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-09 09:00:32 +00:00
kohsuke c945a70fd6 doc improvement.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1066 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-09 02:27:39 +00:00