Commit Graph
32590 Commits
Author SHA1 Message Date
Jesse Glick 3c71aff334 jenkins-test-harness 2.24 2017-08-02 13:14:19 -04:00
Nicolas De Loof 1af56bedb1 add missing @Symbol for agent protocols 2017-08-02 10:34:34 +02:00
Jesse Glick 7ab8ba1c15 Using RestartableJenkinsRule.then. 2017-08-01 17:41:04 -04:00
Jesse Glick 4bbdf81933 Extending fix to User. 2017-08-01 16:53:48 -04:00
Jesse Glick 29a9ad76a2 Extending fix to AbstractItem. 2017-08-01 16:40:41 -04:00
Jesse Glick c8b5086f11 [JENKINS-45892] Prevent a Run from being serialized except at top level. 2017-07-31 20:41:32 -04:00
Kohsuke Kawaguchi 45aa3324a7 [maven-release-plugin] prepare for next development iteration 2017-07-31 12:34:12 -07:00
Kohsuke Kawaguchi 06cbf01146 [maven-release-plugin] prepare release jenkins-2.72 jenkins-2.72 2017-07-31 12:34:12 -07:00
Andrew Bayer 5f125d110e [FIXED JENKINS-20272] Don't monitor response on offline agents (#2911)
* [FIXED JENKINS-20272] Don't monitor response on offline agents

* Updating to only not check if channel is null.

* Fix broken test.
2017-07-30 15:44:03 +03:00
Jesse Glick 564ca0b6d7 [JENKINS-45553] - Cache the Mac so we do not need to constantly recreate it (#2948)
[JENKINS-45553] - Cache the Mac so we do not need to constantly recreate it
2017-07-30 15:42:31 +03:00
Oleg Nenashev 378199ff84 Merge pull request #2947 from jglick/Queue-opt
[JENKINS-45553] Avoid calling Task.getFullDisplayName unless and until we need to
2017-07-30 15:41:00 +03:00
Oleg Nenashev 4df5895b7e Merge pull request #2951 from daniel-beck/JENKINS-38185
[JENKINS-38185] Always follow redirects for DownloadService
2017-07-29 22:36:20 +03:00
Oleg Nenashev 9dc2cdbb48 [JENKINS-44112] - Enable WorkDir in JNLPLauncher (#2945)
* [JENKINS-44112] - Enable Work Directories by defaul in new agents with JNLP launcher

* [JENKINS-44112] - Add test for the legacy data migration

* [JENKINS-44112] - Add test for API calls

* [JENKINS-44112] - Apply new APIs within core and tests

* [JENKINS-44112] - Cleanup tests

* [JENKINS-44112] - Cleanup API of JNLPLauncher

* [JENKINS-44112] - Address the leftover code review comments
2017-07-29 21:32:16 +03:00
Daniel Beck 8d7f9b5ee0 [JENKINS-38185] Always follow redirects for DownloadService 2017-07-28 23:39:58 +02:00
Jesse Glick 2d65333658 Avoid calling Task.getFullDisplayName unless and until we need to. 2017-07-27 18:16:03 -04:00
Daniel Beck f4c3cd1dfc Merge pull request #2946 from Jochen-A-Fuerbacher/fixTypo
Fixed typo in German translation.
2017-07-26 12:37:55 +02:00
Jochen Fürbacher e97ac1ba36 Fixed typo in German translation. 2017-07-26 10:17:15 +02:00
Kohsuke Kawaguchi 85d6a780f6 [maven-release-plugin] prepare for next development iteration 2017-07-23 20:57:12 -07:00
Kohsuke Kawaguchi 88e540cf9d [maven-release-plugin] prepare release jenkins-2.71 jenkins-2.71 2017-07-23 20:57:12 -07:00
Kevin Formsma 354f380243 [JENKINS-45519] Fix keepUndefinedParameters option for suppressing warnings (#2939)
* Update ParametersAction.java

Pull request 2687 added a 'false' setting for this flag to prevent warning messages from being logged, but the logic doesn't match the message or the documentation. This updates the check, so that the warning message is correctly suppressed if `hudson.model.ParametersAction.keepUndefinedParameters` is set to false.

* Updated check to use optBoolean
2017-07-22 21:03:35 +03:00
Jesse Glick f4d5c76421 [JENKINS-45737] - User mapping should be stored in a per-Jenkins field and getAll should be called just once per session unless we reload (#2928)
[JENKINS-45737] - User mapping should be stored in a per-Jenkins field and getAll should be called just once per session unless we reload
2017-07-22 20:59:20 +03:00
Oleg Nenashev adf01d0888 Merge pull request #2940 from jglick/cleanup-JENKINS-25625
[JENKINS-25625] Deleting obsolete SECURITY-144-compat exclusion
2017-07-22 20:50:13 +03:00
Oleg Nenashev e77048893a Merge pull request #2941 from jcmoore3/JENKINS-45516
[JENKINS-45516] Fix null pointer exception when checking for previous completed build
2017-07-22 16:46:32 +03:00
Oleg Nenashev c5f7d23e9d Merge pull request #2944 from daniel-beck/JENKINS-45679
[FIX JENKINS-45679] JNLP needs to request Java 8
2017-07-22 16:45:41 +03:00
Oliver Gondža 9dede06404 Update accmod for latest restrictions 2017-07-21 08:58:11 +02:00
Oleg Nenashev 6595ec34d0 Merge pull request #2936 from nfalco79/feature/JENKINS-14807
[JENKINS-14807] Fix path separator when EnvVars overrides variable like PATH+XYZ on slave node cross platform
2017-07-21 07:49:58 +03:00
Olivier Lamy 19f2d66334 Merge pull request #2937 from olamy/feature/jetty_http2_connector
[JENKINS-45438] Add Jetty HTTP/2 connector
2017-07-21 10:51:23 +10:00
olivier lamy ece79da3e2 use release 4.1 of winstone
Signed-off-by: olivier lamy <olamy@apache.org>
2017-07-20 22:01:10 +10:00
Oleg Nenashev de4f28558a Merge pull request #2931 from jglick/ReloadConfigurationCommand
[JENKINS-45256] The reload-configuration CLI command ought to wait until the reload is finished

(cherry picked from commit cc1615b9ef)
2017-07-20 12:21:53 +02:00
Oleg Nenashev 8cd6fd81a5 [JENKINS-43496] - Add handling of the null Node#createComputer() result. (#2922)
* [JENKINS-43496] - Add handling of the null Node#createComputer() result.

it is a follow-up to https://github.com/jenkinsci/jenkins/pull/2836#discussion_r110604865

De-facto many Cloud plugins return `null` in `Node#createLauncher()`, but it has never been documented.
In order to prevent possible API misusages in the future, I have added annotations and fixed handling of the extension point in `AbstractCIBase#updateComputer()` which may fail in the case of `null` or `RuntimeException` in the Node implementation.

* [JENKINS-43496] - Use ProtectedExternally to protect Node#createComputer()

* [JENKINS-43496] - Remove the erroneous Nonnull annotation after the feedback from @jglick

* [JENKINS-43496] - Fix typos noticed by @daniel-beck

(cherry picked from commit bcf55ecd7f)
2017-07-20 12:19:55 +02:00
Oleg Nenashev c2c6306d2a [JENKINS-44103] - Cleanup usages of the "JNLP" term in TcpSlaveAgentListener
(cherry picked from commit b5fe89cc98)
2017-07-20 12:16:57 +02:00
Oleg Nenashev c2163c5b3c [JENKINS-38527] - Prevent NullPointerException in Slave#createLauncher() and add cause diagnostics (#2923)
* [JENKINS-38527] - Prevent NullPointerException in Slave#createLauncher() and add cause diagnostics

The original issue comes from the isUnix() unboxing, but we can also get into an issue later if we pass a null Channel instance to the logic.
This change adds some diagnostics which discovers potential root causes of such potential NPEs due to the race conditions with Computer reconnection

* [JENKINS-38527] - Also handle cases when Channel#isClosingOrClosed() as @stephenc suggested

(cherry picked from commit 78a42d5a4a)
2017-07-20 12:15:23 +02:00
Daniel Beck 99cf772da1 [FIX JENKINS-45679] JNLP needs to request Java 8 2017-07-20 11:12:26 +02:00
olivier lamy fc9283e553 no need anymore to ignore jetty spdy classes as it doesn't exist anymore
Signed-off-by: olivier lamy <olamy@apache.org>
2017-07-20 11:20:51 +10:00
Kohsuke Kawaguchi 07e7f47244 [maven-release-plugin] prepare for next development iteration 2017-07-19 15:31:47 -07:00
Kohsuke Kawaguchi 0f9143da61 [maven-release-plugin] prepare release jenkins-2.60.2 jenkins-2.60.2 2017-07-19 15:31:47 -07:00
Daniel Beck e952bbaff3 Merge pull request #2943 from daniel-beck/fix-since
Fix @since tags
2017-07-18 11:54:10 +02:00
Oleg Nenashev de10b2b690 Merge pull request #2935 from oleg-nenashev/bug/JENKINS-34914-getRootUrl()-NPE
[JENKINS-34914] - Prevent NPE in Jenkins#getRootURL() when the instance is not fully loaded
2017-07-18 11:47:46 +02:00
olivier lamy 0c26fef6b2 executable-war 1.36
Signed-off-by: olivier lamy <olamy@apache.org>
2017-07-17 21:04:39 +10:00
Kohsuke Kawaguchi 82d2e5c4aa [maven-release-plugin] prepare for next development iteration 2017-07-16 19:34:42 -07:00
Kohsuke Kawaguchi c8b2b5246b [maven-release-plugin] prepare release jenkins-2.70 jenkins-2.70 2017-07-16 19:34:42 -07:00
Daniel Beck eac4221941 Fix more since tags 2017-07-16 14:28:20 +02:00
Daniel Beck f3426ddf82 Fix @since tags 2017-07-16 14:18:39 +02:00
Curt Moore 245ad0bdb1 [JENKINS-45516] Fix null pointer exception when checking for previous completed build 2017-07-13 10:22:35 -05:00
Jesse Glick 7df33034fe Deleting obsolete SECURITY-144-compat exclusion. 2017-07-13 09:09:14 -04:00
Daniel Beck 62eb3c525e Merge pull request #2938 from daniel-beck/flexible-upgrade-wizard
Show actual Jenkins version in upgrade wizard
2017-07-13 10:40:02 +02:00
Daniel Beck 2e6e619935 [JENKINS-45459] Fix 'shortened' Jenkins version in upgrade wizard 2017-07-12 00:05:57 +02:00
Daniel Beck e509d27b74 Show actual Jenkins version on upgrade wizard banner 2017-07-12 00:05:43 +02:00
olivier lamy c7e55fbd65 use new executable-war to fix classloading issue with services loader
Signed-off-by: olivier lamy <olamy@apache.org>
2017-07-11 14:46:35 +10:00
olivier lamy 91129b81e8 last winstone for http2 connector
Signed-off-by: olivier lamy <olamy@apache.org>
2017-07-11 14:45:30 +10:00