Commit Graph
5635 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 9f22df6d7e updated changelog as a part of the release
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14692 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-21 03:27:58 +00:00
kohsuke 3b14eed678 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14689 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-21 02:53:14 +00:00
kohsuke 005adb01ac [maven-release-plugin] prepare release hudson-1_277
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14687 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-21 02:47:54 +00:00
kohsuke 3946418fcf [maven-release-plugin] rollback the release of hudson-1_277
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14685 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-21 02:40:52 +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 b275c3983e [maven-release-plugin] prepare for next development iteration
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14683 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-21 02:34:57 +00:00
kohsuke dd2192ab5f [maven-release-plugin] prepare release hudson-1_277
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14680 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-21 02:00:44 +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
mindless 4d32498010 makeButton expects object param, not ID string (fixes behavior in Opera; somehow still
worked in firefox).
also fixed check for adding a user/group name that is already in table.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14674 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-20 22:48:28 +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
kohsuke 29739f22a0 With the <tt>--logfile==/path/to/logfile</tt> option, Hudson now reacts <tt>SIGALRM</tt> and reopen the log file.
This makes Hudson behave nicely wrt log rotation.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14667 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-20 19:44:07 +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
mindless 137374bf91 [FIXED HUDSON-2889] Remove extra slash in link (broke link when rootURL is empty)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14663 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-20 17:23:52 +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 07e40ca911 [FIXED HUDSON-2878] Fix display of Usage selection to show saved value.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14641 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-19 16:46:33 +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 f035260dc7 activate debug support during test execution, so people can use browsers interactively while debugging tests from IDE.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14614 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-18 00:51:03 +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
kohsuke a2c69b75a1 this allows TaskAction to override getLog() to persist log
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14609 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-17 19:39:32 +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 ea155b1b50 must be a bug
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14606 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-17 19:10:09 +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 c5dad3331d enable the tracing so that people debugging tests in a debugger can see the traces
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14604 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-17 18:03:59 +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 14e90ba0f7 improved the usability
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14599 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-17 16:23:00 +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 a3b3d30191 added a convenient Builder base class for tests
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14570 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-17 01:11:13 +00:00
mindless 183756b8a3 fix broken images in log recorder pages
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14569 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-17 00:35:09 +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