shinodkm
dbef637a5c
Added retry option for check out . ie, If checkout failes, it will retry the specified number of times.
...
BUG FIX : 3855
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19060 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-19 08:35:43 +00:00
kohsuke
f7a0608f49
Supported self restart on all containers in Unix
...
(<a href="http://www.nabble.com/What-are-your-experiences-with-Hudson-and-different-containers--td24075611.html ">report</a>)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19053 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-19 01:24:45 +00:00
mindless
161bfe3bbe
[FIXED HUDSON-3326] handle null axes in getLayouter(),
...
which can occur if build page is access right when build starts,
before axes field is initialized.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19017 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-17 23:10:13 +00:00
kohsuke
ceee797674
[FIXED HUDSON-3875] According to the bug report, IBM JVMs fail to load akuma for some reasons. Gracefully recover from that error. This fix will be in 1.311.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18999 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-17 00:47:10 +00:00
kohsuke
c893750531
[FIXED HUDSON-3733]
...
I filed a bug in the JNA project to keep track of this. In the mean time, you can set the system property "hudson.os.solaris.ZFSInstaller.disabled=true" in your JVM to prevent Hudson from using ZFS (which leads to this JVM crash.)
This fix will be in 1.311.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18998 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-17 00:43:24 +00:00
kohsuke
d51466bc71
[FIXED HUDSON-3878] Filter cannot be assumed to be present when Hudson starts up.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18997 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-17 00:30:13 +00:00
kohsuke
a6684093da
fixed NPE
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18984 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-16 23:32:57 +00:00
kohsuke
079e6dbb9c
merged the RC branch
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18981 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-16 22:22:13 +00:00
kohsuke
d2abcd62e0
auto-add Subversion support into a dependency list for plugins built before 1.311
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18980 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-16 19:18:08 +00:00
kohsuke
ee5cba8fac
added a system property to disable workspace clean up
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18963 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-16 17:57:24 +00:00
kohsuke
07a17f1f4d
removed unused imports
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18962 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-16 17:53:54 +00:00
kohsuke
77172f6a48
removing final
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18961 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-16 17:48:01 +00:00
kohsuke
b2b2ab1639
Set time out to avoid infinite hang when SMTP servers don't respond in time.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18959 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-16 16:41:57 +00:00
kohsuke
fb83ad3e73
NPE fix
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18946 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-16 06:51:13 +00:00
kohsuke
fafa4bec66
NPE fix
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18945 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-16 06:46:57 +00:00
kohsuke
bcd8e37595
finally introduced the builder pattern for Launcher, to stop combinatorial explosion of the launch method
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18944 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-16 06:38:22 +00:00
kohsuke
45b30a3da6
Future used in Queue can now cancel the task
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18940 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-16 05:01:32 +00:00
kohsuke
93e366ae44
Future used in Queue can now cancel the task
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18939 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-16 04:56:21 +00:00
kohsuke
cf439c5be9
StringBuffer->StringBuilder
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18938 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-16 04:42:57 +00:00
kohsuke
d5dd4b853c
Moving remaining pieces and really removing SVNKit from the core dependency.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18926 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-16 01:15:20 +00:00
kohsuke
a20e6e43ca
Because of the tricky license in SVNKit that has a viral effect, I'm moving it out into a separate plugin so that
...
people can choose to remove it from their distributions.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18923 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-16 00:59:11 +00:00
jglick
d8bdd39e3d
NPE configuring project tied to offline slave.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18917 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-15 23:38:30 +00:00
kohsuke
04f1dd6712
Don't populate the default value of the Subversion local directory name.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18916 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-15 20:56:45 +00:00
kohsuke
679ffdee68
Implemented more intelligent polling assisted by <tt>commit-hook</tt> from SVN repository.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18915 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-15 20:44:56 +00:00
kohsuke
7b7d126945
avoid using deprecated methods
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18914 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-15 20:27:44 +00:00
kohsuke
5d613a9319
typo
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18905 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-14 18:46:47 +00:00
kohsuke
f5d4856b5c
cancel out the effect of buffering done by JDK
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18904 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-14 18:46:38 +00:00
kohsuke
73b503bf67
C&P error
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18903 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-14 17:35:54 +00:00
kohsuke
00cf9f432f
copy a file with permissions
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18899 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-14 16:04:36 +00:00
kohsuke
26971784d5
added a convenience method
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18896 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-14 15:21:24 +00:00
kohsuke
380b60b8f8
PipedInputStream/OutputStream has a design problem.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18888 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-13 21:42:00 +00:00
kohsuke
d232a10734
release the upload side even if this ends abnormally
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18887 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-13 21:29:08 +00:00
kohsuke
d0d54a69a6
The PipedInputStream/OutputStream combo has a serious performance problem in it. Namely, the writer doesn't wake up the reader when it writes new data, and instead it relies on the wait(1000) call on the reader side to notice new data.
...
This means it can have up to 1 sec latency for new data to be picked up. We should replace all the use of PipedIn/OutStream by something else that works.
In this instance, I tweaked the code so that it doesn't go through a pipe. This assumes that the servlet container allows a different thread to drain InputStream.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18883 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-13 21:22:12 +00:00
kohsuke
3497535129
one more convenience method
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18869 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-12 23:00:59 +00:00
kohsuke
bcfa18c93e
this works better with arbitrary Task/Executable implementation
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18866 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-12 22:49:36 +00:00
kohsuke
47cba7244a
error message should indicate why it failed
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18864 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-12 22:42:28 +00:00
kohsuke
f298126eff
simplifying by using the crumb structure available in JavaScript
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18859 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-12 21:53:22 +00:00
kohsuke
5f34c0d881
simplifying
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18858 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-12 21:44:49 +00:00
dty
ca3420c1e5
Simplify configuration of crumbs (in the UI) and programmatic usage from
...
hudson-behavior.js.
- Default crumb descriptor no longer presents any configuration UI. If a user
wants to change the crumb field name, that is now done through a system
property, hudson.security.csrf.requestfield.
- Default crumb issuer uses the Hudson secret key as the salt, so this no longer
needs to be a configuration option.
- layout.jelly initializes a crumb structure in hudson-behavior.js so that
Javascript functions can have access to this information without need it
passed in by the caller.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18856 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-12 21:04:23 +00:00
kohsuke
194e39cad5
documenting that toString() is used for UI rendering. I should probably have getDisplayName() instead.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18854 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-12 19:15:23 +00:00
kohsuke
509950e9af
Fixed a bug in CLI where the state of command executions may interfere with each other.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18852 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-12 19:12:35 +00:00
kohsuke
f2cb5d7360
Enhanced Queue so that the completion of a task can be tracked more reliably via Future.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18850 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-12 18:57:45 +00:00
kohsuke
531c606c5d
added a transient task support
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18837 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-12 01:42:22 +00:00
kohsuke
f84a7a5e9a
doc improvement
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18835 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-12 01:06:27 +00:00
kohsuke
a63bdef0a4
Added a CLI command to copy a job.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18834 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-12 01:04:26 +00:00
kohsuke
716f50991b
[FIXED HUDSON-3799] Fix for performance problem in FilePath.copyRecursiveTo() over the network.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18816 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-11 22:38:00 +00:00
kohsuke
6295aac1f0
Fixed cross-site scripting vulnerabilities, thanks to Steve Milner.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18760 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-10 00:53:58 +00:00
kohsuke
af1f76f483
Added a CLI command to clear the job queue.
...
(<a href="http://www.nabble.com/cancel-all--td23930886.html ">report</a>)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18748 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-09 17:37:35 +00:00
kohsuke
0557c9f27d
NPE fix in the remote API if @xpath is used without @exclude.
...
(<a href="http://www.nabble.com/Adding-Remote-API-support-to-findbugs-and-emma-plugins-td23819499.html ">patch</a>)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18747 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-09 17:21:21 +00:00
dty
8c4e97d171
Merge in changes that implement the cross-site request forgery crumb feature.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18738 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-09 07:09:02 +00:00