Commit Graph
32590 Commits
Author SHA1 Message Date
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
Baptiste Mathus b6f629b784 Merge pull request #3837 from batmat/add-tool-to-update-@since-TODOs
[JENKINS-55449] Add tool to update "@since TODO" entries
2019-01-10 12:31:11 +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
Wadeck Follonier 8923786c0f Merge branch 'security-stable-2.121' into security-stable-2.138 2019-01-10 12:10:28 +01:00
Wadeck Follonier 1f49f09168 Merge branch 'security-stable-2.107' into security-stable-2.121 2019-01-10 12:09:06 +01:00
Jeff Thompson da135e7ecb [SECURITY-901] 2019-01-10 12:03:19 +01:00
Baptiste Mathus 1afa724313 Introduce method to fetch java.specification.version 2019-01-09 18:12:02 +01:00
Baptiste Mathus 2225631b19 Remove also param given minimumJavaVersion is a class member already 2019-01-09 18:04:44 +01:00
Baptiste Mathus 3ced8bb24f Make the phrasing less awkward
using the proposal from @jglick in https://github.com/jenkinsci/jenkins/pull/3016/files#r246146054
2019-01-09 18:02:34 +01:00
Baptiste Mathus 3b07b356c0 Remove spurious 'it' (and duplicate doc) 2019-01-09 18:00:49 +01:00
Baptiste Mathus 36d32ed5a6 Remove apostrophes to avoid issues in string un/expansion 2019-01-09 17:59:56 +01:00
Baptiste Mathus 94c114a0bf Clarify what null means 2019-01-09 17:56:16 +01:00
Baptiste Mathus 282e42b161 Provide more information about where/how the Minimum-Java-Version is coming from the plugin's metadata 2019-01-09 17:51:09 +01:00
Baptiste Mathus ee04f92c05 Add reference to related JIRA entry 2019-01-09 17:41:03 +01:00
Baptiste Mathus 791253d08a Remove duplicated Javadoc
as proposed by @jglick
2019-01-09 17:37:57 +01:00
Baptiste Mathus c61031db6b Add missing space in javadoc 2019-01-09 17:37:57 +01:00
Jesse Glick 2c475030c5 BuildCommandTest.sync never behaved as intended on Windows, but the problem was concealed by the original code not checking the command exit code. 2019-01-09 09:58:16 -05:00
Jesse Glick 8ab9866242 Stray line. 2019-01-08 22:55:20 -05:00
Jesse Glick f7ff281997 Removing code to support the Remoting-based CLI. 2019-01-08 22:39:07 -05:00
Baptiste Mathus 835cd9c6bc Update '@since TODO' using the newly introduced tool 2019-01-08 22:56:31 +01:00
Baptiste Mathus 4189b66e9f Introduce small tool to update '@since TODO' entries 2019-01-08 22:56:31 +01:00
Baptiste Mathus 6fe66156dd Remove json comment 2019-01-08 15:50:17 +01:00
Baptiste Mathus 1f7cb5ae86 Factor out the message and plugin name in submethod 2019-01-08 14:21:57 +01:00
Baptiste Mathus e2a5b770f3 Fix Javadoc: isForNewerJava() is the one checking the current plugin 2019-01-08 14:15:11 +01:00
David Olorundare fd5fa51b6c Merge branch 'master' of https://github.com/jenkinsci/jenkins 2019-01-07 08:48:54 -06:00
Baptiste Mathus 8a666cece0 Log warning in case of unparseable minimum Java version 2019-01-07 15:32:41 +01:00
Baptiste Mathus 246adab568 Add test covering methods for "is*ForNewerJava()"
This way at least we know the backend methods should not be broken without
noticing.
2019-01-07 14:31:16 +01:00
Baptiste Mathus 89d20ef30c Add warning if minimumJavaVersion is not parseable 2019-01-07 14:31:16 +01:00
Baptiste Mathus 29de9aaef6 Rename to minimumJavaVersion to keep the name across tooling
Given this field is present in maven-hpi-plugin, update-center, etc.
I think it does not hurt to keep the 'Minimum-Java-Version' name across
various usages to help make it clear.
2019-01-07 14:31:16 +01:00
Baptiste Mathus 27c49bf0a1 Merge branch 'master' into JENKINS-20679-filter-out-plugins-compiled-with-more-recent-jdk 2019-01-07 11:11:38 +01:00
Kohsuke Kawaguchi 78bad9afb8 [maven-release-plugin] prepare for next development iteration 2019-01-06 14:39:58 -08:00
Kohsuke Kawaguchi e82436fe31 [maven-release-plugin] prepare release jenkins-2.157 jenkins-2.157 2019-01-06 14:39:39 -08:00
Baptiste Mathus 8482421841 Merge pull request #3833 from jenkinsci/ExtensionList.lookupSingleton
Suggest ExtensionList.lookupSingleton
2019-01-06 15:54:23 +01:00
Damian Szczepanik b8a619aa88 Adds Polish translations 2019-01-06 00:32:11 +01:00
Damian Szczepanik 049fe2ce56 Improvements for translation-tool.pl
After several tests of 3bfe97e40f I found that library does not support:
- proper using characters stored as \uXXXX so then translated files have values without \u
- keys with spaces such as `jenkins\ title` is not supported

So then I decided to revert last commit and add a little improvement but still there are problems with
- values which ends with `\` so value is provided as multiline
- lines with more than single `=` character that are already translated
2019-01-05 22:56:45 +01:00
David Olorundare 19b0d03aa4 Merge branch 'master' of https://github.com/jenkinsci/jenkins 2019-01-05 11:49:10 -06:00
Baptiste Mathus 9ce4c4c68d Merge pull request #3820 from AbhyudayaSharma/windows-build-fix
[JENKINS-29150] - Fix the CronTabTest.testTimezone test
2019-01-04 22:25:35 +01:00
Baptiste Mathus e7d4f4f97a Merge pull request #3826 from damianszczepanik/pl
Adds Polish translations
2019-01-04 22:25:09 +01:00
Baptiste Mathus 10240e070c Merge pull request #3831 from batmat/bump-to-builder-helper-m-p-3.0.0
Update to latest version to support M2E
2019-01-04 22:24:29 +01:00