Jesse Glick
75c8c31f2f
[JENKINS-26519] More diagnostics in case a numeric rename target already exists.
2015-01-28 08:48:23 -05:00
James Nord
bffb409b9e
Add extra info if the slave can not restartc correctly.
...
If the service can not reliably restart itself add link to the wiki with
some information about how to fix it.
2015-01-28 11:48:44 +00:00
Jesse Glick
0633beef08
[JENKINS-26519] Attempting to improve diagnostics in case rename fails.
2015-01-27 16:09:48 -05:00
Jesse Glick
c419d7d794
Trying to diagnose hung connection in UC download.
...
Observed in 1.580.1 on credentials-plugin (which you would think would be tiny and fast to get):
"Update center installer thread [#1 ]" #70 daemon prio=5 os_prio=0 tid=0x00007f5634815800 nid=0x64a8 runnable [0x00007f567cfe4000]
java.lang.Thread.State: RUNNABLE
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:150)
at java.net.SocketInputStream.read(SocketInputStream.java:121)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:284)
at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
- locked <0x00000007aa3ec760> (a java.io.BufferedInputStream)
at sun.net.www.MeteredStream.read(MeteredStream.java:134)
- locked <0x00000007aa3eedd8> (a sun.net.www.MeteredStream)
at java.io.FilterInputStream.read(FilterInputStream.java:133)
at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3322)
at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3315)
at org.apache.commons.io.input.ProxyInputStream.read(ProxyInputStream.java:77)
at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:766)
at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1138)
at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1298)
at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1116)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:104)
at java.lang.Thread.run(Thread.java:745)
2015-01-26 16:15:42 -05:00
Jesse Glick
d0458519d7
Merge pull request #1538 from jglick/SCM._for
...
SCM._for is actually @CheckForNull.
2015-01-23 12:52:00 -05:00
Jesse Glick
416bdef94d
[JENKINS-24673] Noting merge of #1530 .
2015-01-23 12:39:34 -05:00
Kohsuke Kawaguchi
3b39c30834
Inject parameters from Guice when we can.
...
This allows @Initializer to have parameter injection
2015-01-23 05:09:09 +09:00
Jesse Glick
e926ed313b
Added some tests for SimpleBuildWrapper used from a freestyle project as a BuildWrapper.
...
This demonstrated that we actually need to call EnvVars.overrideAll explicitly (as CoreWrapperStep already did).
2015-01-22 09:21:46 -05:00
Jesse Glick
b21af0f99a
No need to check for c.env == null any more.
2015-01-22 09:12:57 -05:00
Jesse Glick
716f5ada35
Javadoc improvements.
2015-01-22 09:06:16 -05:00
Jesse Glick
b18f736789
Better Javadoc.
2015-01-22 07:25:48 -05:00
Jesse Glick
93fc66f1ab
SCM._for is actually @CheckForNull.
2015-01-21 17:43:35 -05:00
Jesse Glick
fccc34987f
[JENKINS-26519] Unreproducible NPE from unmigrateJobsDir.
2015-01-21 13:57:41 -05:00
Jesse Glick
b2cc36377e
Merge branch 'rc'
2015-01-21 13:18:57 -05:00
Jesse Glick
056b446480
[FIXED JENKINS-26519] Accept Windows text file quasi-symlinks for build numbers.
2015-01-21 13:17:31 -05:00
Jesse Glick
798dc61373
Better to throw the ISE before, not after, overwriting the environment variable.
2015-01-20 16:12:53 -05:00
Jesse Glick
f1102009d9
Merge branch 'master' into SimpleBuildWrapper-JENKINS-24673
2015-01-20 16:03:51 -05:00
Jesse Glick
1b1ad56b23
Typo.
2015-01-16 17:37:54 -05:00
Jesse Glick
3c8e1b516a
API refinements and documentation.
2015-01-16 17:34:03 -05:00
Jesse Glick
36bce39ff4
[FIXED JENKINS-26476] Work around Remoting problem by avoiding reference to Functions.
2015-01-16 14:24:52 -05:00
Jesse Glick
ee7e66d758
Merge branch 'master' into SimpleBuildWrapper-JENKINS-24673
2015-01-16 10:24:22 -05:00
Oliver Gondža
555e2d593f
[JENKINS-26411] Handle ChannelClosedException as well
2015-01-16 11:17:50 +01:00
Jesse Glick
a85204e4d1
tearDown should be allowed to throw exceptions.
2015-01-15 16:10:27 -05:00
Oliver Gondža
b0351d21e6
[JENKINS-26411] Bring slave log link back
2015-01-15 19:51:23 +01:00
Oliver Gondža
788d6ff6e9
[FIXED JENKINS-26411] Improve error reporting when channel closed
2015-01-15 19:21:26 +01:00
Oliver Gondža
f61f2cd3ca
[JENKINS-26411] Do not interrupt build abruptly when exception is thrown from build step
2015-01-15 19:20:50 +01:00
Jesse Glick
82e97c4d3a
Compilability fix.
...
For some reason (probably a mistake), BuildWrapper.Environment is nonstatic.
2015-01-14 17:47:23 -05:00
Jesse Glick
ec4317d82c
Initial draft of SimpleBuildWrapper.
2015-01-14 17:11:31 -05:00
Jesse Glick
08b957c12f
[FIXED JENKINS-26203] Noting merge of #1503 .
2015-01-13 12:54:09 -05:00
Felix Belzunce Arcos
6351a8a258
JENKINS-26203
2015-01-13 09:54:59 +01:00
Daniel Beck
8d1968f5bd
[FIXED JENKINS-26382] Allow admin signup from /manage as well
2015-01-12 20:38:28 +01:00
Jesse Glick
9e333bc1e6
[JENKINS-10944] [JENKINS-24519] Noting merge of #1513 .
2015-01-09 07:57:57 -05:00
Jesse Glick
8e5199e377
[JENKINS-25338] Noting merge of #1497 .
2015-01-09 07:21:23 -05:00
Jesse Glick
b33b921dc5
[JENKINS-25601] Noting merge of #1499 .
2015-01-09 07:16:23 -05:00
christ66
d58c3cd5d6
Remove redundant catch exception
2015-01-08 11:19:06 -08:00
christ66
da1c74f619
Fix log message to report more verbose message.
2015-01-08 11:01:12 -08:00
christ66
c3eb1cac79
If a project action fails to load we should log the project action and continue to load the project.
2015-01-07 15:17:58 -08:00
christ66
cd0752432e
Merge remote-tracking branch 'upstream/master' into JENKINS-22811
...
Conflicts:
test/src/test/java/hudson/model/ItemGroupMixInTest.java
2015-01-07 13:12:18 -08:00
christ66
3e29bd7eff
[JENKINS-22811] Folder loading can break when an item inside the folder fails to load or throws an Exception.
2015-01-06 19:41:51 -08:00
Jesse Glick
0cdab01c7e
Jenkins was failing to log exceptions from raw Runnable/Callable sent to Timer (without using SafeTimerTask, PeriodicWork, etc.).
2015-01-06 09:54:16 -05:00
Jesse Glick
1a80973ab8
Merge branch 'master' into FlyweightTask-JENKINS-10944
2015-01-06 07:03:50 -05:00
Oliver Gondža
fb832b76a3
Merge pull request #1514 from bschelberg/master
...
Fixed min/max operations in ComputerRetentionWork
2015-01-06 12:17:58 +01:00
Oliver Gondža
5bfaca449c
Merge pull request #1472 from jbaranov/JENKINS-25514
...
[JENKINS-25514] Fixed lock case in FutureImpl
2015-01-06 11:52:32 +01:00
Bernie Schelberg
e00f99251e
Fixed min/max operations in ComputerRetentionWork
...
As previously implemented, nextCheck would always happen in 1 minute, regardless
of what the RetentionStrategy.check() returned.
2015-01-06 14:59:52 +11:00
Jesse Glick
3e344a94a9
[FIXED JENKINS-10944] [FIXED JENKINS-24519] If makeBuildable fails on a FlyweightTask, keep it in queue.
2015-01-05 17:02:52 -05:00
Jesse Glick
efb7ebcda8
ifBlockedByHudsonShutdown renamed to isBlockedByShutdown.
2015-01-05 15:06:08 -05:00
Jesse Glick
c3021e92ea
Deprecating Jenkins.FLYWEIGHT_SUPPORT configuration flag.
...
Plenty of plugins assume that a FlyweightTask will behave in a certain way
and might break if this feature were simply disabled.
2015-01-05 15:01:08 -05:00
Kohsuke Kawaguchi
4e0af4319c
Merge pull request #1443 from mattmoor/master
...
Change Jenkins to use a single consistent data-binding field.
2015-01-05 10:56:25 -08:00
Jesse Glick
59d491f967
Throwable.printStackTrace() to stderr is gratuitous when we are sending the exception to Logger.
2014-12-29 16:16:01 -05:00
Jesse Glick
2d8bb7c849
Javadoc updates.
2014-12-29 16:04:19 -05:00