Commit Graph
8961 Commits
Author SHA1 Message Date
Kohsuke Kawaguchi fe1a1487d5 Added Jenkins 100K easter egg for 1.600
My plan is to remove this in a while.
2015-02-28 08:16:53 -08:00
Oliver Gondža 58a41bcb18 [FIXED JENKINS-26684] Escape special chars in maven build step arguments 2015-02-08 14:26:14 +01:00
Nicolas De Loof a186262113 Do not use two volatiles to hold state that needs to be atomically updated 2015-02-03 17:29:10 +01:00
Nicolas De Loof e0a394ab86 [JENKINS-26755] cache node environment
to prevent inefficient channel overuse
2015-02-03 16:26:00 +01:00
Ryan Campbell 327f778013 [JENKINS-26718] Allow runs to be discarded even if their project can't be found by its fullname 2015-02-02 11:37:06 -06:00
Jesse Glick 1f844a5522 [FiXED JENKINS-26698] Noting merge of #1554. 2015-01-30 07:41:58 -05:00
Nicolas De Loof f593e73e2b JDK installer on OSX 2015-01-30 10:41:55 +01:00
Jesse Glick a398cabd32 Make WorkspaceList.Lease implement AutoCloseable for Java 7 callers, to make releasing the lease more convenient. 2015-01-29 18:07:07 -05:00
Jesse Glick 62af87b67a [JENKINS-26698] Make sure BuildExecution.cleanUp always calls super, to release the workspace lease.
Also stop closing the build log in Run.handleFatalBuildProblem; we want to see any subsequent messages too.
2015-01-29 17:57:47 -05:00
Jesse Glick 388c4b5e6b [FIXED JENKINS-26519] Build record migration failed on Windows using Java 6.
In this environment, Util.createSymlink and .isSymlink are implemented, but resolveSymlink is not.
2015-01-29 14:57:32 -05:00
CloudBees DEV@Cloud c886df063c Merge REMERGE_HEAD into HEAD 2015-01-28 14:31:12 +00:00
Ryan Campbell e95c46e25e Merge pull request #1549 from recampbell/nonnull
Note some nonnull parameters
2015-01-28 08:25:25 -06:00
Ryan Campbell c66ad897fe Merge pull request #1550 from recampbell/JENKINS-26643
[JENKINS-26643] DescribableList.buildDependencyGraph should catch RuntimeException
2015-01-28 08:23:58 -06:00
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
Ryan Campbell 7f7db958c2 [JENKINS-26643] DescribableList.buildDependencyGraph should catch RuntimeException 2015-01-27 16:34:02 -06:00
Jesse Glick 0633beef08 [JENKINS-26519] Attempting to improve diagnostics in case rename fails. 2015-01-27 16:09:48 -05:00
Ryan Campbell ee7999ae6c Note some nonnull parameters 2015-01-27 13:08:16 -06: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