Commit Graph
17505 Commits
Author SHA1 Message Date
kohsuke 7fdc2e844c Don't show a view list if the system has no jobs at all.
This is important to maintain a clean welcome screen for the first-time installation

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15353 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-15 02:53:54 +00:00
kohsuke 70e23eebd4 added logging
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15352 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-14 18:31:12 +00:00
kohsuke b9f7d5a480 implementing a ZFS based FileSystemProvisioner as a test to see if the abstraction works.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15351 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-14 18:26:19 +00:00
kohsuke b6c0519b66 compilation fix
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15350 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-14 18:24:11 +00:00
kohsuke d249924b89 removed unused parameter
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15349 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-14 18:22:15 +00:00
kohsuke 76ed226f7d - allowing InterruptedException in more places.
- hooking up FileSystemProvisioner


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15348 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-14 18:21:44 +00:00
kohsuke b49cc1e05a - allowing InterruptedException in more places.
- hooking up FileSystemProvisioner


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15347 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-14 18:20:32 +00:00
kohsuke 54b9f6bb86 Moving ZFS related code into the solaris package, in anticipation of more code in this area.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15346 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-14 17:44:44 +00:00
kohsuke d741f23d33 - allowing InterruptedException in more places.
- hooking up FileSystemProvisioner


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15345 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-14 17:37:05 +00:00
mindless 6e8b814140 [FIXED HUDSON-414] copy AbstractProject changes in r15338/15339 to prevent multiple
builds in same second (would use same build directory)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15344 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-14 16:17:04 +00:00
mindless 4a93e24100 doc fix
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15343 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-14 15:42:38 +00:00
mindless 3d75ed2c76 [FIXED HUDSON-3043] login completely broken for those upgrading to 1.283,
since old password field was not descrambled before encoding.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15342 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-14 15:41:45 +00:00
kohsuke 3eeb8b969f turned Node into an abstract class to support better binary compatibility.
This change is still binary compatible for everyone using this today.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15341 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-14 15:23:54 +00:00
kohsuke 426fb47fca making a bit more progress
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15340 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-14 15:03:30 +00:00
huybrechts 24436ee05a [HUDSON-2997] no need to serialize this...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15339 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-14 12:45:57 +00:00
huybrechts 8233a00205 [FIXED HUDSON-2997]
- don't start two builds of the same project in the same second
- don't schedule two parameterized builds without parameters at the same time

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15338 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-14 12:36:57 +00:00
sogabe 6ca8a6cf58 move help.html of PAMSecurityRealm to war/resources/help/security.
I18N and L10N for PAMSecurityRealm.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15337 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-14 12:16:44 +00:00
mindless 963af1b34e in r15291 ParametersAction.build was removed.
1) added back this field as private transient so old build data can be loaded
   without unmarshall exceptions
2) fixed view showing parameters used for a build, which was using this build field
   (I think that's why it was there in the first place).. now I used
   request.findAncestorObject to get the build.
(feel free to rework either/both of these changes to a "better" way)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15331 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-14 01:39:15 +00:00
mindless dade9a6569 add default='test' in build.xml for testBuildAxisInAnt,
to avoid failure from ant saying default attribute is required.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15325 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-13 23:22:36 +00:00
kohsuke 6dd5b3037b Suppress more pointless error messages in Winstone when clients cut the connection in the middle.
(<a href="http://www.nabble.com/javax.servlet.%2CServletException-td22002253.html">report</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15323 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-13 23:01:31 +00:00
kohsuke ad0723bd55 [FIXED HUDSON-1670] integrated new localizer to complete the change done by mindless
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15322 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-13 22:57:52 +00:00
kohsuke f1f7d70f94 improved error diagnostics, as JDK doesn't tell us where we are loading the bits from
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15321 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-13 22:51:24 +00:00
mindless a3bac8aa3e [HUDSON-1670] use Localizables as parameters to another Localizable when creating
a HealthReport (for both Build Stability and Test Results).
When already-translated strings are used, these go into the cached health report,
so all users see language of the person who cached it rather than their own language.
Localizer package needs a fix so that Localizable.toString() defaults to
LocaleProvider.getLocale() rather than Locale.getDefault().. then these strings
will translate correctly to the language of the current request.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15320 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-13 22:36:24 +00:00
kohsuke 167f181c59 noting where the exports are unexported
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15319 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-13 22:33:06 +00:00
kohsuke 9948a1cf55 release a reference to the RemoteOutputStream when a proxy goes out of scope.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15318 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-13 22:32:17 +00:00
kohsuke d8a3915434 updated changelog as a part of the release
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15305 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-13 19:25:03 +00:00
jglick 41732b6dfd Adding optional <kind> attribute to changelogsets for ease of identification.
Currently only implemented for CVS & SVN; could be done for others when the plugins have a new hudson-core dep.
See https://stapler.dev.java.net/nonav/issues/show_bug.cgi?id=4 for background.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15302 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-13 19:10:43 +00:00
kohsuke 709ba8763b [maven-release-plugin] prepare for next development iteration
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15301 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-13 18:02:26 +00:00
kohsuke 63850f8041 [maven-release-plugin] prepare release hudson-1_283
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15299 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-13 17:58:28 +00:00
kohsuke f1c00d8def Use a new version to prevent
[INFO] [INFO] [encoding:check-encoding {execution: default}]
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [ERROR] FATAL ERROR
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] /home/kohsuke/ws/hudson/release-box/hudson/main/core/target/generated-sources/apt not found.
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Trace
[INFO] /home/kohsuke/ws/hudson/release-box/hudson/main/core/target/generated-sources/apt not found.
[INFO]  at org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:349)
[INFO]  at org.jvnet.hudson.tools.PropertyFileEncodingCheckerMojo.execute(PropertyFileEncodingCheckerMojo.java:69)
[INFO]  at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
[INFO]  at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
[INFO]  at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
[INFO]  at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
[INFO]  at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
[INFO]  at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
[INFO]  at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
[INFO]  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
[INFO]  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
[INFO]  at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
[INFO]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[INFO]  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[INFO]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[INFO]  at java.lang.reflect.Method.invoke(Method.java:597)
[INFO]  at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
[INFO]  at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
[INFO]  at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
[INFO]  at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Total time: 31 seconds
[INFO] [INFO] Finished at: Fri Feb 13 17:47:32 GMT 2009
[INFO] [INFO] Final Memory: 140M/329M
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Maven execution failed, exit code: '1'



git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15298 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-13 17:54:15 +00:00
huybrechts 1eb749f3de [FIXED HUDSON-2997] introducing QueueAction to pass actions from scheduling to the build it self
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15293 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-13 17:39:59 +00:00
kohsuke 5cf28bc2eb Proactively work around bug 6276483 by removing SunPKCS11-Solaris security provider.
See http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6276483
and http://hudson.gotdns.com/wiki/display/HUDSON/Solaris+Issue+6276483

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15292 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-13 17:25:14 +00:00
huybrechts c397933f91 [FIXED HUDSON-2997] introducing QueueAction to pass actions from scheduling to the build it self
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15291 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-13 16:59:04 +00:00
mindless 583b3d3789 [FIXED HUDSON-2329] LDAP group permissions were not applied when logged in via remember-me cookie.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15290 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-13 16:49:36 +00:00
kohsuke f906de445f Hudson will now kill all the processes that are left behind by a build, to maintain
the stability of the cluster.
    (<a href="https://hudson.dev.java.net/issues/show_bug.cgi?id=2729">issue 2729</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15289 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-13 16:43:59 +00:00
mindless 8b1f7627b0 fix typos
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15288 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-13 15:49:36 +00:00
kohsuke 35095a532a no use printing to stderr
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15285 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-13 01:00:13 +00:00
kohsuke a2432a4462 more doc
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15284 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-13 00:56:05 +00:00
kohsuke 9b1dddc116 shuffle around implementations and documents
so that we can use the kill method just with the model env vars

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15283 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-13 00:55:24 +00:00
kohsuke 616036a17a Plugin manager now honors the plugin URL from inside .hpi, not just from the update center.
(<a href="http://www.nabble.com/Plugin-deployment-issues-td21982824.html">report</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15281 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-13 00:12:47 +00:00
kohsuke e651ff600f ZFS migration feature is live
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15270 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-12 22:16:29 +00:00
kohsuke 81e56cb605 bug fix
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15269 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-12 22:04:26 +00:00
kohsuke 7bc82afde3 bug fix
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15268 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-12 21:55:01 +00:00
kohsuke 45d486f2b3 if back up already exists, delete it
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15267 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-12 21:52:31 +00:00
kohsuke 942120a734 sharing the file system appears to require more permissions, so don't abort
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15266 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-12 21:30:58 +00:00
kohsuke e540cc39ab also do pfexec
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15265 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-12 20:59:25 +00:00
kohsuke d171f58a03 need to chown in case this code is executed as a super user
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15264 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-12 20:58:59 +00:00
kohsuke 5a828cc7c1 separating ZFS installation into two steps so that Hudson can ask for the super user password
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15262 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-12 20:31:24 +00:00
mindless 76da6ff28e [HUDSON-573] Add tooltip attribute on status-ball-img in buildHistory
and buildCaption, as is already done in job list on Hudson main page.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15256 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-12 16:44:09 +00:00
kohsuke 6ed48594ab share the file system
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15252 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-12 01:21:10 +00:00