Skip to content

Commit 5444f8b

Browse files
committed
temporary debugging statements
1 parent e384a3f commit 5444f8b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/org/jenkinsci/plugins/workflow/libs/LibraryAdder.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,8 @@ static List<URL> retrieve(@NonNull LibraryRecord record, @NonNull LibraryRetriev
257257
for (LibraryRecord library : action.getLibraries()) {
258258
FilePath libResources = libs.child(library.getDirectoryName() + "/resources/");
259259
FilePath f = libResources.child(name);
260+
LOGGER.severe("path: " + new File(f.getRemote()).getCanonicalFile().toPath());
261+
LOGGER.severe("library path: " + new File(libResources.getRemote()).getCanonicalPath());
260262
if (!new File(f.getRemote()).getCanonicalFile().toPath().startsWith(new File(libResources.getRemote()).getCanonicalPath())) {
261263
throw new AbortException(name + " references a file that is not contained within the library: " + library.name);
262264
} else if (f.exists()) {

0 commit comments

Comments
 (0)