Commit Graph
18869 Commits
Author SHA1 Message Date
Kohsuke Kawaguchi 659b6af190 [maven-release-plugin] prepare for next development iteration 2019-03-24 18:13:28 -07:00
Kohsuke Kawaguchi a273d4f268 [maven-release-plugin] prepare release jenkins-2.169 2019-03-24 18:13:18 -07:00
Baptiste Mathus 2263ad03ab Merge pull request #3934 from mobi-robert/JENKINS-56554
JENKINS-56554 Add run parameter filter to API response
2019-03-20 14:33:43 +01:00
Baptiste Mathus e50a72767d Merge pull request #3932 from Wadeck/SMALL_JS_BUG
Correct small JS bug
2019-03-20 10:29:07 +01:00
Robert Rabe 807c148d43 JENKINS-56554 Add run parameter filter to API response 2019-03-14 09:55:16 +01:00
Kohsuke Kawaguchi 1c9eb43283 [maven-release-plugin] prepare for next development iteration 2019-03-10 22:55:12 -07:00
Kohsuke Kawaguchi 1e48792e61 [maven-release-plugin] prepare release jenkins-2.168 2019-03-10 22:55:05 -07:00
Adrien Lecharpentier d9c20b68af Correct DownloadService TimeUnit mix on lastAttempt (#3928)
* Revert DownloadService TimeUnit mix on lastAttempt

Downloadable.lastAttempt is set in milliseconds but the PR-3913 change
the test to toMillis(millis+seconds)<millis.

Thank you @pzygielo for this catch.

* Fix DownloadService time unit usage

Thank you @daniel-beck

Co-Authored-By: alecharp <adrien.lecharpentier@gmail.com>

* Fix DownloadService missing import
2019-03-10 20:44:10 +01:00
Wadeck Follonier dd13c42d28 Correct small JS bug
Context: 
The "Manage Legacy API Token usage" page, used for migrating the legacy API Token.

Problem: 
If you click on a line, the checkbox is checked and the line is highlighted. But if you click on the checkbox, the behavior should be the same. This is not the case for all the lines, except the last one.

Root cause:
In the code, I used a `var` inside a loop. Due to the JS behavior, the `var` are not scoped to their "block", but to their "function block". That results in the `onCheckChanged(checkBox)`, the checkBox change it's value, due to the closure, that keep the reference to a variable that is changed.

Solution:
Either using `let` instead of `var` or using the `this` that corresponds to the checkbox in this case.
2019-03-09 12:20:19 +01:00
Daniel Beck 14fd7a779a [JENKINS-24513] Only warn in case of actual jobs 2019-03-08 11:16:47 +01:00
Zbynek Konecny 6bed423b1f [JENKINS-56398] Mobile friendly login / load / restart screens (#3923)
* JENKINS-56398 Mobile friendly login / load / restart screens

* [JENKINS-56398] increase line-height of heading

* [JENKINS-56398] mobile friendly layout for signup form
2019-03-08 10:20:30 +01:00
Wadeck Follonier 5562b2fec6 [JENKINS-56114] Correct behavior for Windows Server 2016 with Docker (#3914)
* [JENKINS-56114] Correct behavior for Windows Server 2016 with Docker
- also adjust the symlink escape hatch

* Correct missing space + retrigger build

* Improve performance with a check on the logger level

* Run the specific code only under Windows

* Rename the method as it's used only for Windows
2019-03-08 10:19:07 +01:00
Oleg Nenashev fcc2a66017 Merge pull request #3913 from jsoref/java-cleanup
Java cleanup
2019-03-08 10:18:41 +01:00
Daniel Beck ef958e41f8 [JENKINS-24513] Add access control for builds admin monitor (#3919)
* [JENKINS-24513] Add access control for builds admin monitor

* Fix potential encoding related issue
2019-03-08 10:18:07 +01:00
James Nord 01006d1c18 return a String from StringParameterValue.getValue()
Make use of covariant return types to return a String rather than an
Object.
2019-03-04 14:23:45 +00:00
Kohsuke Kawaguchi 4d54883e07 [maven-release-plugin] prepare for next development iteration 2019-03-03 19:03:29 -08:00
Kohsuke Kawaguchi c3cd672a57 [maven-release-plugin] prepare release jenkins-2.167 2019-03-03 19:03:21 -08:00
Daniel Beck c43610cdb7 Add message to the build log when a build is running as SYSTEM (#3908)
* Add message to the build log when a build is running as SYSTEM

* Match previous log message
2019-03-01 21:05:31 +01:00
Daniel Beck dcf354ce78 Merge pull request #3917 from Wadeck/CORRECT_LEGACY_API_TOKEN_MONITOR_LOG
Correct the Logger name for Legacy API Token monitor
2019-02-28 15:18:24 +01:00
Josh Soref 8825451f67 spelling: dependent (#3821)
* spelling: dependent

Writers following British writing convention often confuse dependent and dependant. Those following US writing convention have an easier time with these words because Americans do not use dependant.

A dependant is a person who is dependent on someone else. (For example, a child is dependent on its parents. Therefore, a child is a dependant of its parents.)

Jenkins does not deal with people, thus the UK rule which is confusing does not apply.

* Add deprecated shims
2019-02-28 14:12:37 +01:00
Wadeck Follonier 73609ddf59 Change the Logger name for Legacy API Token monitor 2019-02-27 12:05:03 +01:00
Wadeck Follonier 95c2575062 [JENKINS-52818] Add the missing @since
- avoid git-archeology to find when the interface was added
2019-02-27 11:34:56 +01:00
Josh Soref cfbef24071 switch to ArrayUtils 2019-02-26 12:21:06 -05:00
Josh Soref 0ad7d00099 Switch to using TimeUnit.UNIT.toUnit(...) 2019-02-26 12:13:41 -05:00
Kohsuke Kawaguchi 0dfe346c9c [maven-release-plugin] prepare for next development iteration 2019-02-25 16:05:08 -08:00
Kohsuke Kawaguchi fbd80b9278 [maven-release-plugin] prepare release jenkins-2.166 2019-02-25 16:04:59 -08:00
Oleg Nenashev 8cdc17c913 Merge pull request #3906 from jsoref/logrecorder-off
[JENKINS-56200] LogRecorder: support turning off a log recorder
2019-02-25 10:06:25 +01:00
Mit Naria 399c8ba40a [FIX JENKINS-43218] Fix Fingerprint.toString() (#3910)
* [FIX JENKINS-43218] Fix Fingerprint.toString()

1. Fix Fingerprint.toString() method when
   variable usages = null .

Signed-off-by: Mit Naria <mit4dev@gmail.com>

* [FIX JENKINS-43218] Fix Fingerprint.toString()

1. Fix Fingerprint.toString() method when
   variable usages = null .

* [JENKINS-43218] - Retrigger the build after the Java 11 fixes on ci.jenkins.io
2019-02-23 10:12:26 +01:00
Oleg Nenashev a5c9d7fce9 Merge pull request #3907 from jsoref/auto-unbox
Rely on auto unboxing
2019-02-23 10:12:00 +01:00
Josh Soref 6811328320 Java 5: foreach loop 2019-02-20 21:46:39 -05:00
Josh Soref 47daeb4cc1 Java 5: skip (un)boxing 2019-02-20 21:46:06 -05:00
Josh Soref 64ab6e48b5 No need for a boxed double 2019-02-20 21:44:55 -05:00
Josh Soref fbdc8f7946 Java 5: use thread-unsafe StringBuilder 2019-02-20 21:44:28 -05:00
Josh Soref f63ca4c737 Java 5: contains 2019-02-20 21:35:56 -05:00
Josh Soref 22b2720036 Java 5: foreach 2019-02-20 21:35:37 -05:00
Josh Soref 893e5c0891 Remove unused imports 2019-02-20 20:55:26 -05:00
Josh Soref 4469f15718 !...anyMatch() -> noneMatch() 2019-02-20 20:53:09 -05:00
Josh Soref 62ed30e55a Suppress warnings for advapi32 2019-02-20 20:51:35 -05:00
Josh Soref bd8091cf57 Drop useless local variables 2019-02-20 19:18:09 -05:00
Josh Soref 95c8e71591 String.equals(null) is fast enough... 2019-02-20 19:15:15 -05:00
Josh Soref 7e08108e41 Simplify guard handling of propsToMask.contains 2019-02-20 19:12:14 -05:00
Josh Soref 7c8a51bb12 Simplify == operation on booleans 2019-02-20 19:11:49 -05:00
Josh Soref 5feda70fde Simplify end of function return logic 2019-02-20 19:08:27 -05:00
Josh Soref 301826ab87 noinspection InfiniteLoopStatement 2019-02-20 19:03:47 -05:00
Josh Soref 004b23133f Dropping unnecessary semicolons 2019-02-20 18:59:46 -05:00
Josh Soref adcfcedd7b Dropping unnecessary public modifiers 2019-02-20 18:59:20 -05:00
Josh Soref 0dc8a22d3f Dropping redundant enum modifiers 2019-02-20 18:58:26 -05:00
Josh Soref c0815b50de Use StandardCharsets 2019-02-20 18:54:18 -05:00
Josh Soref a43efeab66 use java style array declaration instead of C style 2019-02-20 18:50:33 -05:00
Josh Soref 007dca5960 Drop final for private methods 2019-02-20 18:47:53 -05:00