Commit Graph
18723 Commits
Author SHA1 Message Date
Kohsuke Kawaguchi 58ee2f2fdf [maven-release-plugin] prepare release jenkins-2.161 2019-01-20 20:46:57 -08:00
Oleg Nenashev 098024f3f3 Merge pull request #3854 from oleg-nenashev/winsw/2.2.0
Update WinSW from 2.1.2 to 2.2.0 for agents and masters
2019-01-20 11:28:36 +01:00
David Olorundare 77ed68f5d0 [JENKINS-55305] Add new method to SecurityListener (#3825)
Consists of three changes:

[JENKINS-55305] Update SecurityListener method JavaDoc

[JENKINS-55307] Update HudsonPrivateSecurityRealm method

[JENKINS-54965] Add new HudsonPrivateSecurityRealmTest unit-test
2019-01-18 13:43:12 -06:00
David Olorundare 8a666a6d17 Merge branch 'master' of https://github.com/jenkinsci/jenkins 2019-01-18 13:36:55 -06:00
Jesse Glick 496d8625fd Merge pull request #3851 from jglick/ConsoleNote.encodeToBytes-AnonymousClassWarnings-JENKINS-55257
[JENKINS-55257] If ConsoleNote.encodeToBytes is called at all from an agent, it should not use AnonymousClassWarnings
2019-01-18 13:26:22 -05:00
Jeff Thompson bf3f0fbf7e Merge pull request #3841 from jvz/util-delete-regression
[JENKINS-55448] Util delete regression
2019-01-18 16:24:19 +00:00
Jesse Glick 8b91feb7b4 [JENKINS-55257] Verify fix in test. 2019-01-18 10:17:22 -05:00
David Olorundare 24115aefc3 Merge branch 'master' of https://github.com/jenkinsci/jenkins 2019-01-18 06:22:51 -06:00
Jesse Glick 0b8fd6fe5f Automated tests save me from idiocy. 2019-01-17 21:59:43 -05:00
Jesse Glick a8961ea0c4 Merge branch 'master' into ConsoleNote.encodeToBytes-AnonymousClassWarnings-JENKINS-55257 2019-01-17 21:48:31 -05:00
Jesse Glick b58e833a56 Merge pull request #3852 from jglick/ParserConfigurator
Deprecating ParserConfigurator
2019-01-17 20:18:43 -05:00
Oleg Nenashev a3d21dd9e3 Update WinSW from 2.1.2 to 2.2.0 for agents and masters 2019-01-17 23:27:06 +01:00
Baptiste Mathus 249c19c177 Merge pull request #3842 from batmat/document-java-version
Give more details about the expected Java version format
2019-01-17 22:54:51 +01:00
Jesse Glick 379ab35ded Deprecating ParserConfigurator. 2019-01-17 16:15:55 -05:00
David Olorundare f833489cf2 Merge branch 'master' of https://github.com/jenkinsci/jenkins 2019-01-17 11:00:09 -06:00
Mike Glazer 0a6f0bb0fe [JENKINS-55428]: Support API creation with a hashed password (#3817)
* Support API creation with a hashed password

The purpose of this commit is to enable Jenkins Configuration
as Code to construct users via configuration, without the
need to store their passwords in plain text on disk.

* Fix test error

* PR Updates

* Create new method for creating account with a hashed password
* Add method for determining if a password is hashed or not.

* CR Updates

* Add check for hash validity

* Whitespace fix

* Fixup compile errors because PasswordEncoder doesn't have new methods

* Fix whitespace issue

* Add back whitespace

* Improve regex to check the log number of rounds / better version check
- add more tests for versions support to keep aligned with the library
2019-01-17 17:59:18 +01:00
Wadeck Follonier c22edc93e3 Merge pull request #3843 from damianszczepanik/translation
Makes 'Config <item>' translatable and configurable
2019-01-17 17:56:36 +01:00
Wadeck Follonier df6980c318 Merge pull request #3846 from stikonas/master
Fix spelling in Lithuanian translation
2019-01-17 17:54:29 +01:00
Wadeck Follonier 1165b1ce08 Add trailing blank line to avoid merge conflict 2019-01-17 08:59:56 +01:00
Jesse Glick da1605e31c [JENKINS-55257] If ConsoleNote.encodeToBytes is called at all from an agent, it should not use AnonymousClassWarnings. 2019-01-16 17:40:15 -05:00
Kohsuke Kawaguchi 055f4bb73e [maven-release-plugin] prepare for next development iteration 2019-01-15 11:05:10 -08:00
Kohsuke Kawaguchi 70a8e57424 [maven-release-plugin] prepare release jenkins-2.160 2019-01-15 11:05:02 -08:00
Matt Sicker 94765e1a6f Merge commit '183ca1f95ebc44318194ff53887b876e47d92d34' into security-master 2019-01-15 10:25:50 -06:00
Kohsuke Kawaguchi 183ca1f95e [maven-release-plugin] prepare for next development iteration 2019-01-14 13:24:27 -08:00
Kohsuke Kawaguchi 9565b14d05 [maven-release-plugin] prepare release jenkins-2.159 2019-01-14 13:24:16 -08:00
Matt Sicker 95ada0a672 Fix test failure
Signed-off-by: Matt Sicker <boards@gmail.com>
2019-01-14 13:28:25 -06:00
Baptiste Mathus 7796b32023 Revert "[JENKINS-55016] Fix flakiness in UtilTest" 2019-01-14 16:42:08 +01:00
Andrius Štikonas 0290a45360 Fix spelling in Lithuanian translation 2019-01-14 14:30:47 +00:00
Wadeck Follonier 3210ff5774 Merge commit '6d2eb679a6fccc53d32708cc23c5927201953248' into security-master 2019-01-14 14:08:51 +01:00
Kohsuke Kawaguchi 6d2eb679a6 [maven-release-plugin] prepare for next development iteration 2019-01-13 13:04:20 -08:00
Kohsuke Kawaguchi 3f7b9d78dd [maven-release-plugin] prepare release jenkins-2.158 2019-01-13 13:04:06 -08:00
Damian Szczepanik 6dc3722f1f Makes 'Config <item>' translatable and configurable
- title is now translatable with name of the item as argument
 - uses previous translation as default, adds Polish translation
2019-01-12 12:46:25 +01:00
Matt Sicker e4e37836c5 Improve cmd quoting algorithm
Signed-off-by: Matt Sicker <boards@gmail.com>
2019-01-11 18:20:22 -06:00
Baptiste Mathus bd9a414f68 Give more details about the expected Java version format 2019-01-11 22:41:41 +01:00
Matt Sicker 637ae87e95 Add link to blog post
Signed-off-by: Matt Sicker <boards@gmail.com>
2019-01-11 15:39:55 -06:00
Matt Sicker a489cc4ee7 Move Windows util code into test sources
Signed-off-by: Matt Sicker <boards@gmail.com>
2019-01-11 15:35:02 -06:00
Matt Sicker b747845f16 Fix Windows command line argument quoting in createJunction
Signed-off-by: Matt Sicker <boards@gmail.com>
2019-01-11 15:05:50 -06:00
Francisco Fernándezandjvz db59263a15 Fix typo in link
Co-Authored-By: jvz <boards@gmail.com>
2019-01-11 11:27:03 -06:00
Matt Sicker c35f3ba75c Add more tests for JENKINS-55448
This also refactors some test calls to mklink into a package-private Util method due to additional tests needing to create junction points.

Signed-off-by: Matt Sicker <boards@gmail.com>
2019-01-11 10:35:57 -06:00
Matt Sicker 84b1193378 Use explicit functional interface for path checking
Signed-off-by: Matt Sicker <boards@gmail.com>
2019-01-10 14:10:32 -06:00
Matt Sicker 88b515d4bf Revert Util.isSymlink behavior
The simplified form that this replaces has an issue where a file contained somewhere inside a symbolic link is also considered a symbolic link on Windows.

Signed-off-by: Matt Sicker <boards@gmail.com>
2019-01-10 13:54:14 -06:00
Matt Sicker 59880c2fcd Add path filter support to PathRemover
This allows for simplifying FilePath to use PathRemover rather than duplicating logic.

Signed-off-by: Matt Sicker <boards@gmail.com>
2019-01-10 13:40:17 -06:00
Matt Sicker 301ba7af51 [JENKINS-55448] Fix Util.delete regression
This adds path normalization behavior back to the delete methods to match the behavior of the previous version of these methods.

Signed-off-by: Matt Sicker <boards@gmail.com>
2019-01-10 12:27:16 -06:00
Matt Sicker 5dfef2bd17 Add test for deleting symlinks in descendant files
Signed-off-by: Matt Sicker <boards@gmail.com>
2019-01-10 11:48:03 -06:00
Matt Sicker c05d00ad69 Update FilePath.delete* to use Util.delete*
This reduces duplication of file deletion strategy code and potentially fixes a regression noted in JENKINS-55448.

Signed-off-by: Matt Sicker <boards@gmail.com>
2019-01-10 11:00:54 -06:00
Matt Sicker 4c6160d710 Add test for deleting a symlink
Signed-off-by: Matt Sicker <boards@gmail.com>
2019-01-10 10:58:01 -06:00
Baptiste Mathus eb39d6b647 Merge pull request #3016 from daniel-beck/JENKINS-20679
[JENKINS-55048] Add support for plugin Java requirement metadata
2019-01-10 15:51:14 +01:00
Baptiste Mathus af6a939446 Merge pull request #3836 from damianszczepanik/translation
Adds Polish translations
2019-01-10 15:16:57 +01:00
Wadeck Follonier 2861630835 Merge branch 'security-stable-2.150' into security-master 2019-01-10 12:12:46 +01:00
Wadeck Follonier d073df059d Merge branch 'security-stable-2.138' into security-stable-2.150 2019-01-10 12:11:39 +01:00