Commit Graph
17505 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 ae923c1f7c I hate IntelliJ stealing focus
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14775 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-24 18:54:54 +00:00
kohsuke 32d3860be8 added a new tag like <t:buildLink/>
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14774 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-24 18:28:28 +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
sogabe f98867a6db only link not selected timespan in load-statistics
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14768 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-24 07:34:29 +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 369cb8ec66 updated changelog as a part of the release
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14763 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-24 06:50:13 +00:00
kohsuke 8ab509949b [maven-release-plugin] prepare for next development iteration
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14759 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-24 01:51:03 +00:00
kohsuke eeedc38ce3 [maven-release-plugin] prepare release hudson-1_278
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14757 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-24 01:45:27 +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 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