Commit Graph
7678 Commits
Author SHA1 Message Date
kohsuke 6758ff255a automating a remote build via Hudson
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23844 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-19 02:44:20 +00:00
kohsuke 2fb288474e Activating this by default. Exceprt from the IRC chat:
(05:30:38 PM) feniix: hello kohsuke
(05:30:43 PM) kohsuke: hi
(05:31:23 PM) feniix: Just sent you a pull request of this commit http://github.com/feniix/hudson/commit/d13c08ea8f5a3fa730ba174305e6429b74853927
(05:31:25 PM) feniix: :)
(05:32:02 PM) feniix: its a workaround for the setup of the limits.conf on ubuntu and most likely debian too.
(05:33:00 PM) kohsuke: should it be enabled by default, then?
(05:33:18 PM) kohsuke: or maybe I should ask you why this is an issue
(05:34:23 PM) kohsuke: Oh, maybe I misunderstand the issue
(05:34:34 PM) kohsuke: it's to enforce ulimit?
(05:34:48 PM) kohsuke: presumably the root has infinite ulimit and sudo don't add this?
(05:37:18 PM) feniix: to be able to increase the max files open limits
(05:37:30 PM) feniix: on debian, the pam config for su
(05:37:43 PM) feniix: does not run the rules pam_limits.so
(05:37:54 PM) feniix: so it applies the default that is 1024
(05:38:09 PM) feniix: we have a project that has more than 3000 java files
(05:39:02 PM) feniix: also, if the shell of a user is /bin/false being a nologin shell, does not use pam_limits.so either.
(05:39:16 PM) feniix: even if you add:
(05:39:47 PM) feniix: *      soft   nfiles XXXX
(05:39:50 PM) feniix: and
(05:40:03 PM) feniix: *     hard    nfiles XXXX in your limits.conf
(05:40:11 PM) feniix: is not applied to the hudson user
(05:40:27 PM) kohsuke: I see.
(05:40:34 PM) kohsuke: So shall we enable this by default?
(05:40:43 PM) kohsuke: I bet most Hudson users aren't aware of anything like those
(05:40:44 PM) kohsuke: I wasn't
(05:41:27 PM) feniix: I don't think would have to much of a negative impact to have that enabled by default
(05:41:38 PM) feniix: could be setup to something not too big like 4096
(05:42:02 PM) feniix: the max limit is 65535 (on 32bit at least)
(05:42:18 PM) kohsuke: ok
(05:44:27 PM) feniix: cool
(05:44:36 PM) feniix: see ya



git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23843 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-19 02:31:14 +00:00
kohsuke 0070e75b4e Adds parameters in /etc/default/hudson and /etc/init.d/hudson to set the
max files opened limit.
In ubuntu, the pam config for the su command does not have pam_limits.so
enabled by default.
I think a sane default for hudson would be to not rely in the
distribution or the admin of the OS to manage those settings.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23842 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-19 01:55:02 +00:00
kohsuke 9011c1baf9 Initialized merge tracking via "svnmerge" with revisions "1-23838" from
https://www.dev.java.net/svn/hudson/branches/rc


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23840 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-19 01:17:09 +00:00
kohsuke 607a6f2c8f integrated the latest htmlunit to fix a possible ConcurrentModificationException
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23835 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-19 01:15:19 +00:00
mindless e143c96f5c [FIXED HUDSON-4894] update DRIVE_PATTERN so a path like C:\ is recognized as absolute
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23832 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-18 23:38:20 +00:00
kohsuke b2dc60b246 reverting a typo introduced in r23543
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23831 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-18 23:22:00 +00:00
mindless 56823f366f [FIXED HUDSON-4890] reconnect callback to show "Done" when update is done, and
add counter so if there are multiple update sites it shows Done when all are done.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23822 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-18 19:31:52 +00:00
mindless 03bc0a168d [FIXED HUDSON-4877] Fixed handling of non-ASCII characters in external job submission
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23819 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-18 17:47:02 +00:00
mindless f71c79918a [FIXED HUDSON-4878] r22948 introduced a little bug in that a label with no nodes
generates an exception when trying to get the cause of blockage (calls next() on
empty iterator)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23811 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-18 06:37:09 +00:00
kohsuke 996ddf1267 depend on Sun JRE. I could have just used 'java' as the dependency, but zypper seems to prefer OpenJDK if I do that, and I feel more comfortable with Sun JDK
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23800 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-17 23:57:50 +00:00
kohsuke 551cf2b9e5 signature and key in the repodata directory does the magic, so this file is not needed
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23799 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-17 22:29:45 +00:00
kohsuke 9e67f6d1db sign the repo, in the OpenSUSE style
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23798 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-17 22:25:33 +00:00
kohsuke 32cb3bc466 forgot to update
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23797 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-17 22:09:02 +00:00
kohsuke 966255cf20 updated the instruction
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23796 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-17 22:05:36 +00:00
kohsuke 6a17938796 typo
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23795 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-17 21:59:42 +00:00
kohsuke 4962301ed0 integrated OpenSUSE RPM build to the release
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23791 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-17 21:49:28 +00:00
kohsuke a5dbbae42a reverting everything except init file to the RedHat version, since something around the fillup tool isn't working
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23790 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-17 21:39:01 +00:00
kohsuke 015833fd99 this file is needed
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23789 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-17 21:29:51 +00:00
kohsuke ea2240dfda resurrected the original scripts from http://linux01.gwdg.de/~pbleser/files/rpm/hudson/
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23787 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-17 21:13:38 +00:00
kohsuke 4a2372fe70 preparing a workspace for OpenSUSE RPMs
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23786 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-17 20:09:40 +00:00
sogabe 01486325cd fixed that core version in coreWarning is null. it should use requiredCore, not coreVersion.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23778 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-17 15:07:26 +00:00
kohsuke 411f5f38c0 Merged revisions 23772 via svnmerge from
https://svn.dev.java.net/svn/hudson/branches/rc

........
  r23772 | kohsuke | 2009-11-16 17:02:11 -0800 (Mon, 16 Nov 2009) | 1 line
  
  updated changelog as a part of the release
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23774 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-17 01:06:01 +00:00
kohsuke 5933042afe Merged revisions 23766,23768 via svnmerge from
https://svn.dev.java.net/svn/hudson/branches/rc

........
  r23766 | kohsuke | 2009-11-16 16:23:05 -0800 (Mon, 16 Nov 2009) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_334
........
  r23768 | kohsuke | 2009-11-16 16:23:19 -0800 (Mon, 16 Nov 2009) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23769 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-17 00:26:04 +00:00
mindless 65b3e5102f [FIXED HUDSON-2360] Space in axis value for matrix project was lost on reconfiguration
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23757 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-16 18:41:05 +00:00
kohsuke 285b6ff576 Merged revisions 23731-23732 via svnmerge from
https://svn.dev.java.net/svn/hudson/branches/rc

........
  r23731 | mindless | 2009-11-14 14:27:31 -0800 (Sat, 14 Nov 2009) | 3 lines
  
  [HUDSON-4831] Record duplicate causes again, but now update display on the build page
  to say (# times) for duplicates instead of listing them many times.
........
  r23732 | mindless | 2009-11-14 17:17:01 -0800 (Sat, 14 Nov 2009) | 2 lines
  
  [HUDSON-4831] don't wrap "(# times)" only separate line on build page
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23751 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-16 06:09:25 +00:00
mindless 4039345b0e [HUDSON-4066] Add version# is slave.jar and report this in log when a node is launched.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23750 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-16 05:21:31 +00:00
mindless 0d39e761b3 [FIXED HUDSON-3057] configure RememberMeAuthenticationProvider with PAMSecurityRealm,
so "remember me" feature works.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23740 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-15 22:44:18 +00:00
mindless 9ab15ecf9e [HUDSON-4831] don't wrap "(# times)" only separate line on build page
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23732 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-15 01:17:01 +00:00
mindless a93e851797 [HUDSON-4831] Record duplicate causes again, but now update display on the build page
to say (# times) for duplicates instead of listing them many times.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23731 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-14 22:27:31 +00:00
kohsuke 0241901f48 handle errors, too.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23708 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-13 18:40:36 +00:00
kohsuke 5406d1c3aa formatting change
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23707 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-13 18:28:37 +00:00
kohsuke b7ac12290d made the test faster and more robustby not relying on wall clock
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23706 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-13 18:21:41 +00:00
kohsuke 30cf7c698e Merged revisions 23698-23699 via svnmerge from
https://svn.dev.java.net/svn/hudson/branches/rc

........
  r23698 | kohsuke | 2009-11-12 19:24:53 -0800 (Thu, 12 Nov 2009) | 1 line
  
  testing if the root cause is a test failure and it's masked by the failure in tearDown
........
  r23699 | mindless | 2009-11-12 21:47:16 -0800 (Thu, 12 Nov 2009) | 2 lines
  
  [FIXED HUDSON-4831] prevent duplicate cause entries for a build
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23705 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-13 18:12:58 +00:00
kohsuke d33da1fdb4 adding one more switch
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23702 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-13 15:46:07 +00:00
kohsuke 4dd4a14dbf use the same version of javadoc plugin
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23701 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-13 14:54:13 +00:00
mindless 20688553cb [FIXED HUDSON-4831] prevent duplicate cause entries for a build
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23699 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-13 05:47:16 +00:00
kohsuke bd50c5aa58 Merged revisions 23696 via svnmerge from
https://svn.dev.java.net/svn/hudson/branches/rc

........
  r23696 | kohsuke | 2009-11-12 18:56:25 -0800 (Thu, 12 Nov 2009) | 1 line
  
  JDK 6 dependency crept in
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23697 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-13 02:57:22 +00:00
kohsuke 36040b9a7a [FIXED HUDSON-4080] Node variables not passed through to Maven jobs. In 1.335.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23695 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-13 02:54:36 +00:00
kohsuke 0dd593f902 javadoc should now link to hudson-ci.org
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23694 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-13 02:23:26 +00:00
kohsuke d4ad980691 Merged revisions 23689-23691 via svnmerge from
https://svn.dev.java.net/svn/hudson/branches/rc

........
  r23689 | kohsuke | 2009-11-12 15:35:27 -0800 (Thu, 12 Nov 2009) | 1 line
  
  improved diagnosability
........
  r23690 | kohsuke | 2009-11-12 18:03:42 -0800 (Thu, 12 Nov 2009) | 1 line
  
  adding a probe to diagnose a sporadic test failure
........
  r23691 | kohsuke | 2009-11-12 18:14:21 -0800 (Thu, 12 Nov 2009) | 1 line
  
  I think this is causing a test failure in ExtendedReadPermissionTest, as the existing alice/bob/charlie users prevent the data on the disk from loading.
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23692 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-13 02:18:09 +00:00
jglick 0ef598bd31 [FIXED HUDSON-4834] If an AccessDeniedException is thrown by ACEGI, do not print a full stack trace.
This could be a pretty normal occurrence; user might simply need to log in and retry the request.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23684 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-12 19:14:37 +00:00
mindless 8406095df3 change system property from .neverUpdate to .never to match what UpdateCenter had,
and is documented on wiki


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23683 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-12 18:01:01 +00:00
kohsuke d0555e8973 this isn't specific to Maven anymore
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23681 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-12 15:34:27 +00:00
kohsuke 121c258ff1 socket to channel needs to use a Socket(Input|Output)Stream
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23680 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-12 15:33:18 +00:00
kohsuke ca54609aa2 Hudson's UDP broadcast/discovery now supports IP multicast
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23679 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-12 15:08:48 +00:00
mindless 34ccf95285 [HUDSON-4822] patch from lkishalmi to return after sending redirect in doLoginEntry
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23678 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-12 04:24:47 +00:00
kohsuke eab6ed56cc Initialized merge tracking via "svnmerge" with revisions "1-23674" from
https://www.dev.java.net/svn/hudson/branches/rc


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23676 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-12 00:58:24 +00:00
mindless f73f51d2b4 Fix so disabled permissions are not shown in project-specific permission matrix
(EXTENDED_READ has been exposed there since 1.325 even w/o Extended-Read plugin
 to enable that permission)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23659 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-11 20:16:27 +00:00
mindless e119e9598f [FIXED HUDSON-4787] use latest stapler with fix so we don't redirect to "." (stapler r1241)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23658 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-11 19:45:47 +00:00