Commit Graph
3010 Commits
Author SHA1 Message Date
kohsuke 080a542ca2 doc fix
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14732 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-22 23:25:22 +00:00
huybrechts b55337db16 [HUDSON-2659] allow canceling of parameterized builds in the queue
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14731 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-22 23:19:58 +00:00
kohsuke 94530bc5f0 Create "lastStable" symlink on the file system to point to the applicable build.
(<a href="http://www.nabble.com/lastStable-link-td21582859.html">report</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14729 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-22 22:59:55 +00:00
kohsuke 99a09d9672 An user reported that this can be null, too. Since this is just meant to be an helpful error diagnosis, if it's null, just don't bother and let go.
http://www.nabble.com/NullPointerException-in-SVN-Checkout-Update-td21609781.html

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14727 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-22 21:36:15 +00:00
rtyler 79c6195be1 Reverting r14707, change is too intrusive and doesn't really "solve" the
problem.

A better solution would be to allow this to be configurable for the
slaves, a "Cleanup TImeout" if you will



git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14720 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-22 20:33:19 +00:00
huybrechts 281487de87 [HUDSON-2409] build parameters can be submitted with a GET or POST to /job/<name>/buildWithParameters
Only String parameters are currently supported.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14718 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-22 20:14:54 +00:00
dvrzalik 42d83b44dd Slaves should also have the ability to return plain text result of a groovy script
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14712 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-22 16:52:56 +00:00
huybrechts 695b4ba8a3 [HUDSON-2903] pass parameters in a matrix build
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14709 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-22 11:56:11 +00:00
rtyler 56a86e2ab4 Correct an issue that occurs when you delete a job specifically tied to
a slave node

(See email to users@ titled: "Deleting jobs on slaves doesn't delete job
workspace")

Basically this properly removes the workspace directory of jobs assigned
to slave machines when the job owning the workspace is removed.

There still exists an issue where renaming a job assigned to a slave
machine copies the workspace to a new workspace folder named after the
new job, but fails to properly remove the former workspace directory
(patch is being developed now, expected tomorrow)

Developed-by: Adam Christian <adam@slide.com>
Acked-by: R. Tyler Ballance <tyler@slide.com>



git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14707 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-22 05:03:00 +00:00
kohsuke 63a8adbed2 ant throws an exception if the base dir doesn't exist.
This breaks some of the error checks in places like ArtifactArchiver or JavadocArchiver, so return 0 instead of IOException.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14704 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-22 02:12:31 +00:00
kohsuke 2fdcdc8cb4 looks like I should be collecting "java.version" and not "java.vm.version".
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14703 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-22 01:50:29 +00:00
kohsuke 4b6249ccf2 fixed a JDK6 dependency, thanks to animal-sniffer.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14684 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-21 02:40:29 +00:00
kohsuke c210a6d2d8 [FIXED HUDSON-2886]
despite what the comment said, the hudsonUrl variable wasn't including the 'tcpSlaveAgentListener'.

This change will be in 1.277.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14675 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-21 00:17:18 +00:00
kohsuke f3e9c7c981 improved the message after seeing http://www.nabble.com/CVS-polling-issue-td21565925.html
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14673 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-20 22:30:55 +00:00
mindless 9075e7b62f Fix top level People page to show project information again (missing since 1.269)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14664 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-20 18:09:48 +00:00
kohsuke a450b16b9d code quality improvements
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14662 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-20 17:11:14 +00:00
mindless 5739219b7e [FIXED HUDSON-2633] Set minimum of 10 minutes before showing "appears to be stuck"
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14661 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-20 16:52:54 +00:00
mindless 084226b1f1 [FIXED HUDSON-2873] Require BUILD permission to post results for an external job.
(previously had no permission check other than overall READ permission).
Changed AuthorizationStrategy.getACL(AbstractProject) to getACL(Job) and moved
getACL() from AbstractProject.java to Job.java so this permission would apply
to ExternalJob type.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14640 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-19 16:21:44 +00:00
kohsuke 0508d65eea hack to avoid double-registration.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14616 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-18 00:58:40 +00:00
kohsuke d21f4534ac get an instance by its type
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14615 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-18 00:52:18 +00:00
kohsuke 62ba07787a doc improvement.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14612 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-17 23:52:09 +00:00
xlv 84d14db595 [FIXED HUDSON-2874] Tests with no package included twice
package name in TESTS-TestSuites.xml can be "" and that created a test suite
with the name ".<ClassName>" so the test for duplicates in TestResult.add()
was not working.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14608 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-17 19:20:00 +00:00
kohsuke 4d9cb09092 tweaking the abstraction to support persisted log file
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14607 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-17 19:16:12 +00:00
kohsuke d5ddbcf737 supported synchronous execution
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14605 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-17 19:09:20 +00:00
kohsuke 031541556f added a clear method. Useful for testing
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14603 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-17 16:48:04 +00:00
kohsuke ed9b91937d reorganized imports
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14598 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-17 15:25:52 +00:00
kohsuke 5b295682ef doc improvement.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14597 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-17 15:03:41 +00:00
kohsuke d13e5e86af doc improvement.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14590 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-17 14:50:30 +00:00
kohsuke a7769bb812 handle the conflict messages accordingly.
These patterns appear in case of merge

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14575 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-17 02:40:07 +00:00
kohsuke fdc9b81d30 introduced a general-purpose ISVNEventHandler implementation usable from plugins.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14573 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-17 02:05:43 +00:00
kohsuke c5dc44a6a0 rather, this is a better fix
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14572 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-17 01:12:48 +00:00
kohsuke 3b5333a9ed bug fix in case channel==null
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14571 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-17 01:11:57 +00:00
kohsuke 2b9dd49c34 Need to set the owner.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14568 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-17 00:34:32 +00:00
kohsuke fca5cb37ce Added a convenience method.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14567 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-17 00:33:56 +00:00
kohsuke abe1def90e Added a convenience method.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14566 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-16 23:10:56 +00:00
kohsuke bda4cc37f1 improved default implementation.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14560 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-16 20:23:35 +00:00
kohsuke d64370cad6 doc improvement.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14559 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-16 20:17:02 +00:00
kohsuke aae0f88413 [FIXED HUDSON-2840]
Implemented this in 1.276. In the recipient list, one can enter "upstream-individuals:PROJECTNAME" to send e-mails to people who made changes in the upstream.

I'll likely keep this undocumented for now, as this way of adding recipients is somewhat inconsistent with an earlier way of doing this, but OTOH, Jane needs this feature for v3 now.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14544 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-16 15:48:04 +00:00
kohsuke d9db370523 doc improvemetn.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14543 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-16 15:44:47 +00:00
kohsuke bfcc96bbc9 If a build has no change, e-mail shouldn't link to the empty changeset page.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14541 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-16 15:14:14 +00:00
kohsuke 9505b011a8 I think this was causing the random test failures --- the change in rev.14466 was making the test slaves not to connect initially.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14525 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-15 22:41:05 +00:00
kohsuke 97c8eefef5 added support for obtaining command line arguments on Unix
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14506 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-15 15:21:02 +00:00
kohsuke 81d3749395 making this optional so that I can cut a release.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14501 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-15 02:27:47 +00:00
kohsuke 438b7510a4 Improved error diagnostics. See http://www.nabble.com/InvalidProjectModelException---how-to-determine-cause--tt21466535.html
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14500 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-14 23:31:15 +00:00
kohsuke 8193d06cb8 This change broke JNLPLauncherTest by hiding JNLP launch link.
So for now I'm chaging the implementation so that it hides launcher main.jelly if and only the strategy demands to do so,
which is closer to Stephen's original intention (even though this makes the method somewhat inconsistent with its name.)  
 
I'm of opinion that we shouldn't try to hide the launcher, but I'm waiting for Stephen to chime in on that change.
See http://www.nabble.com/Re%3A-svn-commit%3A-r14467---trunk-hudson-main-core-src-main%3A-java-hudson-model-java-hudson-slaves-resources-hudson-model-Computer-tt21465182.html

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14488 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-14 21:44:04 +00:00
kohsuke 78fc5b6d7f doc improvement
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14485 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-14 21:06:04 +00:00
kohsuke e20e94d5c2 Added SMF life cycle.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14483 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-14 20:59:18 +00:00
mindless b656cd8567 [FIXED HUDSON-2843] Util.getTimeSpanString() got exception for times <10 sec
on locales with comma as fraction separator.  Now passing time value to localizer
as float instead of String.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14480 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-14 18:03:38 +00:00
stephenconnolly fd98a6512c When a node is scheduled to not be available, we should not show the manual launch button
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14467 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-14 12:41:43 +00:00
stephenconnolly 925ef1d09d When Hudson was initially started, it was ignoring the retention strategy and starting all nodes anyway.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14466 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-14 11:31:17 +00:00