Commit Graph
3024 Commits
Author SHA1 Message Date
kohsuke 395adfffc3 [FIXED HUDSON-2813] Applied a change with a bit of modifications. This will be 1.279
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14777 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-24 22:04:35 +00:00
kohsuke 684e94ca55 made Hudson more robust to clock out of sync problem. See http://www.nabble.com/Hudson---test-parsing-failure-tt21520694.html
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14776 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-24 22:02:49 +00:00
kohsuke 1600c8b24f addedd the register method
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14773 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-24 17:45:10 +00:00
kohsuke 0bfe2bea3a task equality is based on equals()
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14770 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-24 07:47:28 +00:00
kohsuke 987fecd3f8 doc improvement
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14769 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-24 07:41:09 +00:00
kohsuke 672ffe80bc another overloaded removeProperty
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14767 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-24 07:09:22 +00:00
kohsuke e9d491a841 added a method to remove a JobProperty
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14766 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-24 07:05:59 +00:00
kohsuke 5e77eaae70 added a method to copy a job
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14765 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-24 07:03:49 +00:00
kohsuke 96a695cbf6 reverting rev.14741. JNLP files contain secret keys that need to be protected.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14756 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-24 01:06:47 +00:00
kohsuke 72362179ea The "administer" permission should allow a person to do everything.
(<a href="http://www.nabble.com/Deleting-users-from-Matrix-Based-security-td21566030.html#a21571137">discussion</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14752 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-23 22:44:08 +00:00
kohsuke f428078b71 needs to remain backward compatible, so adding back getACL(AbstractProject) that was lost in rev.14640.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14750 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-23 18:46:40 +00:00
kohsuke d673bad653 Descriptor can infer the corresponding Describable most of the time, because it's the outer class. This is more DRY.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14749 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-23 16:18:51 +00:00
kohsuke ac848d085f Descriptor can infer the corresponding Describable most of the time, because it's the outer class.
This is more DRY.

This should also work for anonymous classes, so those changes to follow.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14747 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-23 16:09:15 +00:00
fujibee aa14701507 Allow anonymous access to the paths of slave agent listener and JNLP file launching slave. These paths must be used by slave agents.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14741 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-23 09:52:29 +00:00
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