Commit f3e2269
authored
Skip CopyArtifactTest#testSymlinks tests on Windows if no symlink support (#259)
Windows 10 and Windows 11 do not allow symbolic links to be created
unless the permission is granted to the user in group policy and
the Windows developer mode is enabled.
https://gist.github.com/huenisys/1efb64e57c37cfab7054c65702588fce
provides one description.
https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-10/security/threat-protection/security-policy-settings/create-symbolic-links
warns that it is a security risk to allow symbolic links in applications
that are not designed to handle them.1 parent 82c3313 commit f3e2269
File tree
1 file changed
+10
-0
lines changed- src/test/java/hudson/plugins/copyartifact
1 file changed
+10
-0
lines changedLines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| 133 | + | |
133 | 134 | | |
134 | 135 | | |
135 | 136 | | |
| |||
1920 | 1921 | | |
1921 | 1922 | | |
1922 | 1923 | | |
| 1924 | + | |
| 1925 | + | |
| 1926 | + | |
| 1927 | + | |
| 1928 | + | |
1923 | 1929 | | |
1924 | 1930 | | |
1925 | 1931 | | |
| |||
1943 | 1949 | | |
1944 | 1950 | | |
1945 | 1951 | | |
| 1952 | + | |
| 1953 | + | |
| 1954 | + | |
| 1955 | + | |
1946 | 1956 | | |
1947 | 1957 | | |
1948 | 1958 | | |
| |||
0 commit comments