We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bb7d09 commit 82ba753Copy full SHA for 82ba753
src/groovy/PipelineTester.groovy
@@ -623,12 +623,14 @@ class Tester {
623
if (exitValue == 0) {
624
625
// Do we expect output files?
626
+ // Here we look for things like "output*" in the
627
+ // redirected output path.
628
if (testOutputPath != null) {
629
def outputFiles =
630
new FileNameFinder().getFileNames(testOutputPath.toString(),
- "${outputFileBaseName}.*")
631
+ "${outputFileBaseName}*")
632
if (outputFiles.size() == 0) {
- err("Expected output file '$testOutputFile' but it wasn't there")
633
+ err("Expected output files '$testOutputFile' but got nothing")
634
validated = false
635
}
636
0 commit comments