Commit Graph
16273 Commits
Author SHA1 Message Date
Jesse Glick b2ce2bde0c Adding @CheckReturnValue to various log-writing methods since as per https://github.com/jenkinsci/workflow-job-plugin/pull/113 I cannot seem to remember to do it. 2018-11-08 15:22:04 -05:00
Jesse Glick 13c752046a Merge branch 'master' into flush 2018-11-05 12:45:20 -05:00
Oleg Nenashev d5737495d4 Merge pull request #3712 from daniel-beck/telemetry-disabled
Reuse Telemetry.disabled(), make it work without singleton
2018-11-04 15:59:48 +03:00
Oleg Nenashev a17bd1cbfa Merge pull request #3706 from OskarsPakers/origin/master
Fix typo and translation for Latvian message file
2018-11-01 07:34:41 +01:00
Jeff Thompson b1ff026023 Merge pull request #3709 from jeffret-b/JENKINS-49987
[JENKINS-49987] Clean up warnings in tests about anonymous callable.
2018-10-30 16:34:43 -06:00
Daniel Beck 17951d27f0 Reuse Telemetry.disabled(), make it work without singleton 2018-10-30 09:31:07 +01:00
Jeff Thompson 33220dec37 Clean up warnings in tests about anonymous callable.
Convert them to static, named classes.
2018-10-29 13:01:07 -06:00
Jesse Glick 8d73038a27 Noting JEP-210 impact on ConsoleNote encoding as suggested in https://github.com/jenkinsci/workflow-durable-task-step-plugin/pull/80#discussion_r228612840. 2018-10-29 09:52:34 -04:00
Daniel Beck b3b797648a Merge branch 'master' into JENKINS-54136 2018-10-27 23:53:47 +02:00
Daniel Beck 81c27d8497 Merge branch 'master' into JENKINS-54135 2018-10-27 21:59:16 +02:00
Daniel Beck 3340e272ea Merge pull request #3697 from daniel-beck/JENKINS-54137
[JENKINS-54137] Do not submit "empty" telemetry
2018-10-27 21:58:10 +02:00
Victor Ott 17d56f4539 Fix Executor javadoc for getDisplayName() 2018-10-27 14:12:11 +02:00
Jesse Glick 4c6be45e6f Introduced LineTransformationOutputStream.Delegating. MavenConsoleAnnotator had neglected to implement flush properly. 2018-10-26 14:58:57 -04:00
Oskars Pakers 16843e64fc [origin/master]: Fix typo and translation for Latvian message file 2018-10-26 10:37:32 +03:00
Jesse Glick 83361ae832 ArgumentListBuilder2Test.slaveMask failure. 2018-10-25 19:22:59 -04:00
Jesse Glick 213cc0dce6 Adjusted flushing behavior of remote code using TaskListener. 2018-10-25 15:20:05 -04:00
Jesse Glick bc39ba8d8e Merge pull request #3701 from jglick/SlaveComputer.getRetentionStrategy
SlaveComputer.getRetentionStrategy mistake led to launches of unused agent JVMs
2018-10-25 14:26:24 -04:00
Daniel Beck 37f725f570 Add test ensuring correct correlationIds are sent 2018-10-25 04:31:28 +02:00
Daniel Beck 5c22c528d8 Use ConcurrentSkipListMap similar to StaplerDispatches 2018-10-25 04:03:25 +02:00
Daniel Beck 21db4a1671 CheckForNull 2018-10-25 03:59:54 +02:00
Jesse Glick 54f4733cd0 SlaveComputer.getRetentionStrategy was using Always when there was no node, leading to launches of unused agent JVMs. 2018-10-24 14:35:15 -04:00
Jesse Glick 9e4d324b8c Fixing a synchronization bug in StaplerDispatches.traces. 2018-10-24 14:30:11 -04:00
Daniel Beck a0bc50fb88 [JENKINS-54135] Improve performance of languages telemetry 2018-10-24 17:33:42 +02:00
Daniel Beck 6ec6b16c48 [JENKINS-54136] Use per-trial correlation IDs 2018-10-24 17:21:04 +02:00
Daniel Beck 2226e486e3 Add test 2018-10-24 17:06:39 +02:00
Daniel Beck 8178497685 [JENKINS-54137] Do not submit "empty" telemetry 2018-10-24 16:41:36 +02:00
suren 5e28405afe Add localization for time days 2018-10-18 17:03:32 +08:00
Daniel Beck 5e9e4988f5 Collect information on Accept-Language header values (#3687)
* Collect information on Accept-Language header values

* Skip null values

* Address review feedback, do not record while disabled

* Address FindBugs problem
2018-10-12 23:25:45 +02:00
Daniel Beck d1cbb20b02 Add telemetry for Stapler dispatches (#3688)
* Add telemetry for Stapler dispatches

* Add TODO

* Released version of Stapler
2018-10-12 23:25:07 +02:00
Jesse Glick 371b9c1346 Merge pull request #3690 from daniel-beck/stapler-149
Adapt to stapler/stapler#149
2018-10-11 12:30:48 -04:00
Nicolas De loof 408e135aed Merge pull request #3668 from ndeloof/secret-tostring
warn user when deprecated Secret#toString() is being used
2018-10-11 11:29:29 +02:00
Nicolas De Loof 934d620c16 Add link to https://jenkins.io/redirect/hudson.util.Secret/
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2018-10-11 09:49:49 +02:00
Daniel Beck d67e59a176 Adapt to stapler/stapler#149 2018-10-11 01:38:28 +02:00
Daniel Beck ef5e4a0145 Merge commit 'edd303e91747380043723c1b4c7dc843b91afa51' into security-master 2018-10-08 08:16:41 +02:00
Zhao Xiaojie 4b32eac112 Add i18n support for "icon size" control hyperlinks (#3681)
* Add i18n support

* Add original localize file.
2018-10-07 22:04:33 +02:00
Oleg Nenashev 407d726068 Merge pull request #3678 from daniel-beck/telemetry-improvements
Minor telemetry improvements
2018-10-06 23:24:01 +02:00
Sam Van Oort e0ed9a86e0 Micro-optimizations to Plugin data to reduce minimum memory for Jenkins (#3654)
* Reduce memory footprint for the plugin info by presizing hashmaps to reduce waste for small maps and interning commonly duplicated plugin strings

* Replace duplicated empty string arrays with the one in MemoryReductionUtil

* Fix interning where strings are null

* Fix to deal with the fact that we directly mutate dependency fields for UpdateSite, sigh

* Reduce starting HashMap size for some hashmaps likely to be empty or tiny

* Cleanup per review comments

* Trim some extra waste out of the UpdateSite warnings

* Fix count of optional dependencies

* Move predicates for dependency matching to top-level static final field so they are not duplicated
2018-10-06 12:49:07 +02:00
Oleg Nenashev c6a4fc9a8d Merge pull request #3672 from dwnusbaum/JENKINS-48516
[JENKINS-48516] Uniquify radio button names before setting initial visibility
2018-10-06 12:47:53 +02:00
Oleg Nenashev 08427bd053 Merge pull request #3677 from uhafner/administrative-div-class
Fixed AdministrativeMonitor JavaDoc: replaced div class "warning" with "alert alert-warning"
2018-10-06 11:41:31 +02:00
Daniel Beck aeaa4d6860 Minor telemetry improvements 2018-10-06 07:23:09 +02:00
Ulli Hafner a762e6c687 Fixed JavaDoc: replaced div class "warning" with "alert alert-warning". 2018-10-06 00:17:10 +02:00
Daniel Beck 4089cd9cc7 [JENKINS-53710] Fix signature check on Java 11 (#3641)
* [JENKINS-53710] Fix signature check on Java 11

* Add explanation
2018-10-06 00:15:22 +02:00
Jesse Glick c4612953fd Merge branch 'master' into ConsoleAnnotatorFactory 2018-10-05 14:44:43 -04:00
Daniel Beck 9e99946de7 Merge branch 'security-stable-2.138' into security-master 2018-10-05 18:09:53 +02:00
Daniel Beck 18c0e30202 Add recently added security system properties 2018-10-05 18:05:01 +02:00
Oleg Nenashev d2643c977e Merge pull request #3675 from jsoref/red-failed
Drop fatally
2018-10-05 09:32:44 +02:00
Olivier Truong 3b73c45f52 [JENKINS-31448] Protect against NPE in update center on restart (#3671)
* [JENKINS-31448] Protect against NPE in update center on restart

* rename updateSite private methods
2018-10-05 09:32:26 +02:00
Josh Soref 21945e378f Drop fatally
Builds are either successful (in which case they are not red) or they are not (in which case they are red).
There is no case where a build can be fatally successful, or not fatal and not fail.
2018-10-04 18:20:55 -04:00
Josh Soref 3798aaeaef Add missing space
Properties parse:
foo=blah\
   this

As: foo=blahthis
-- stripping leading whitespace...

Fixes:
* /legend
* /cli/
2018-10-04 18:12:46 -04:00
orgi d4121efe10 JENKINS-36547: Introduce Queue.Task.getAffinityKey() (#3611)
* JENKINS-36547: Introduce Queue.Task.getAffinityKey()

and use it in LoadBalancer.assignGreedily() to find a node for a task.

* JENKINS-36547: Fix Javadoc error

* fixup! JENKINS-36547: Fix Javadoc error

* Fixed Javadoc for Queue.getAffinityKey()
2018-10-04 22:22:49 +02:00