Skip to content

Commit 9bb7d09

Browse files
author
Alan Christie
committed
- Bugfix call to getFileNames
1 parent facaa9d commit 9bb7d09

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/groovy/PipelineTester.groovy

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,9 @@ class Tester {
624624

625625
// Do we expect output files?
626626
if (testOutputPath != null) {
627-
def outputFiles = new FileNameFinder().getFileNames(testOutputPath, "{outputFileBaseName}.*")
627+
def outputFiles =
628+
new FileNameFinder().getFileNames(testOutputPath.toString(),
629+
"${outputFileBaseName}.*")
628630
if (outputFiles.size() == 0) {
629631
err("Expected output file '$testOutputFile' but it wasn't there")
630632
validated = false

0 commit comments

Comments
 (0)