Commit Graph
15015 Commits
Author SHA1 Message Date
Jesse Glick 14028ec75b [JENKINS-45892] Merged #2957: prevent model objects from being serialized except at top level. 2017-08-08 08:48:37 -04:00
Oleg Nenashev d5d6eb037b Merge pull request #2963 from jglick/Executor-warning
Amend JENKINS-24110 fix to more politely specify what was not being run
2017-08-05 16:19:51 +02:00
Alvaro Lobato 1c8ed8e672 [JENKINS-45244] Avoid locking every time getActions is called (#2933)
* [JENKINS-45244] Avoid locking every time getActions is called

* [JENKINS-45244] - Remove initializer

* Add comment clarifying that the actions must be volatile
2017-08-05 16:17:55 +02:00
Oleg Nenashev 6e652aeadb Merge pull request #2964 from jglick/jbcrypt
Use official version of jbcrypt 0.4 in Hudson Private Security Realm
2017-08-05 16:16:53 +02:00
Oleg Nenashev f11aa8dd8b Merge pull request #2962 from oleg-nenashev/bug/JENKINS-45895
[FIXED JENKINS-45895] - JNLPLauncher config.jelly should not display Work Dir settings when included from other class
2017-08-05 16:15:08 +02:00
Oleg Nenashev 9d090bea3b Merge pull request #2960 from ndeloof/master
add missing @Symbol for agent protocols
2017-08-04 20:49:34 +02:00
Sam Van Oort 7550d796b3 [JENKINS-45915] - Switch to the Java8 Base64 rather than Apache commons (#2958) 2017-08-03 23:38:39 +02:00
Jesse Glick 035d73102a Use official version of jbcrypt 0.4. 2017-08-03 17:12:22 -04:00
Oleg Nenashev c90bfe43a5 Merge pull request #2952 from damianszczepanik/wizard
Added Polish translations for setup wizard
2017-08-03 17:09:42 +02:00
Jesse Glick a0a55d1da6 [JENKINS-43199] Reliably close build log file (#2954)
* [JENKINS-43199] Reliably close build log file.

* Try harder to ensure that the logger is closed at the end of the build.
2017-08-03 17:01:16 +02:00
Jesse Glick 8c7d06c72a Amend JENKINS-24110 fix to more politely specify what was not being run. 2017-08-02 18:06:43 -04:00
Damian Szczepanik 5ea807c6a9 Added Polish translations for setup wizard 2017-08-02 23:49:03 +02:00
Jesse Glick 2d2101215d Simplifying writeReplace methods by factoring common logic into XmlFile.replaceIfNotAtTopLevel. 2017-08-02 16:28:41 -04:00
Jesse Glick b6758e3624 Make readResolve methods tolerate Jenkins.instance == null. 2017-08-02 16:25:46 -04:00
Oleg Nenashev 6ed7c7f1d0 [FIXED JENKINS-45895] - JNLPLauncher config.jelly should not display Work Dir settings when included from other class 2017-08-02 20:17:13 +02:00
Nicolas De Loof 1af56bedb1 add missing @Symbol for agent protocols 2017-08-02 10:34:34 +02: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
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
Jochen Fürbacher e97ac1ba36 Fixed typo in German translation. 2017-07-26 10:17:15 +02: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 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
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
Daniel Beck 99cf772da1 [FIX JENKINS-45679] JNLP needs to request Java 8 2017-07-20 11:12:26 +02: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
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
Daniel Beck e509d27b74 Show actual Jenkins version on upgrade wizard banner 2017-07-12 00:05:43 +02:00
Nikolas Falco cf0183d1ed [JENKINS-14807] Fix path separator when EnvVars overrides variable like
PATH+XYZ

The getEnvironment(Node, TaskListener) now returns an environment setup
correctly with the platform value of the computer node where the job is
executed.
2017-07-10 13:51:30 +02:00
Oleg Nenashev c064d88a3b [JENKINS-34914] - Prevent NPE in Jenkins#getRootURL() when the nstance is not fully loaded 2017-07-09 11:56:40 +02:00
Oleg Nenashev cc1615b9ef Merge pull request #2931 from jglick/ReloadConfigurationCommand
[JENKINS-45256] The reload-configuration CLI command ought to wait until the reload is finished
2017-07-01 12:50:41 +02:00
Oleg Nenashev 26fc2a9650 Merge pull request #2927 from daniel-beck/JENKINS-9283-docs
Document timezone specification and provide full list
2017-07-01 08:13:12 +02:00
Oleg Nenashev bcf55ecd7f [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
2017-07-01 08:11:16 +02:00
Oleg Nenashev e7cdd6517c [JENKINS-39370] - Update Remoting in Jenkins core to 3.10 (#2886)
* Update Remoting in Jenkins core to 3.8

* JENKINS-39370 - Introduce support of Work Directories in remoting (opt-in).
* PR 129 - Allow configuring java.util.logging settings via a property file (-loggingConfig or JUL system property). See the Logging page for more details.
* JENKINS-37567 - Change of the code signing certificate

More info: https://github.com/jenkinsci/remoting/blob/master/CHANGELOG.md#38

* [JENKINS-39370] - Add direct tests for JNLP Launcher start with -workDir

* Pick Remoting 3.9

* Improve error message of LauncherTest#remoteKill()

* Update Remoting to 3.10
2017-07-01 07:54:48 +02:00
Daniel Beck c906a181ad s/timezone/time zone 2017-06-29 14:37:19 +02:00
Jesse Glick 4a4bdc981f The reload-configuration CLI command ought to wait until the reload is finished. 2017-06-26 18:10:28 -04:00
Daniel Beck 9635b7241f Add list of supported time zone IDs, rephrase some of the doc 2017-06-26 18:29:39 +02:00
Oleg Nenashev f6176bc19d [JENKINS-9283] - Don't accept invalid timezones, add form validation 2017-06-26 18:03:39 +02:00
Oleg Nenashev b171bc6053 [JENKINS-9283] - Document timezones support in help pages 2017-06-26 18:03:39 +02:00