Consistently use issues.jenkins.io for issue links (#5724)

This commit is contained in:
Basil Crow authored and GitHub committed 2021-09-13 20:07:44 +01:00
1 parent c22cc07680
commit f12f400a5c
26 files changed
+39 -39

No files matched your search

+4 -4
View File
@@ -241,9 +241,9 @@ public class Util {
@NonNull
public static String loadFile(@NonNull File logfile, @NonNull Charset charset) throws IOException {
// Note: Until charset handling is resolved (e.g. by implementing
// https://issues.jenkins-ci.org/browse/JENKINS-48923 ), this method
// https://issues.jenkins.io/browse/JENKINS-48923 ), this method
// must be able to handle character encoding errors. As reported at
// https://issues.jenkins-ci.org/browse/JENKINS-49112 Run.getLog() calls
// https://issues.jenkins.io/browse/JENKINS-49112 Run.getLog() calls
// loadFile() to fully read the generated log file. This file might
// contain unmappable and/or malformed byte sequences. We need to make
// sure that in such cases, no CharacterCodingException is thrown.
@@ -253,7 +253,7 @@ public class Util {
// from a Charset and the reader returned by Files.newBufferedReader()
// handle malformed and unmappable byte sequences for the specified
// encoding; the latter is more picky and will throw an exception.
// See: https://issues.jenkins-ci.org/browse/JENKINS-49060?focusedCommentId=325989&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-325989
// See: https://issues.jenkins.io/browse/JENKINS-49060?focusedCommentId=325989&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-325989
try {
return FileUtils.readFileToString(logfile, charset);
} catch (FileNotFoundException e) {
@@ -418,7 +418,7 @@ public class Util {
// by default, the permissions of the created directory are 0700&(~umask)
// whereas the old approach created a temporary directory with permissions
// 0777&(~umask).
// To avoid permissions problems like https://issues.jenkins-ci.org/browse/JENKINS-48407
// To avoid permissions problems like https://issues.jenkins.io/browse/JENKINS-48407
// we can pass POSIX file permissions as an attribute (see, for example,
// https://github.com/jenkinsci/jenkins/pull/3161 )
final Path tempPath;