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 63c06e5 commit 47da790Copy full SHA for 47da790
src/groovy/PipelineTester.groovy
@@ -641,10 +641,11 @@ class Tester {
641
// Do we expect output files?
642
// Here we look for things like "output*" in the
643
// redirected output path.
644
- if (testOutputPath != null) {
+ if (testOutputPath != null && createsBlock != null) {
645
def outputFiles = new FileNameFinder().
646
getFileNames(testOutputPath.toString(), "*")
647
println "++++++ " + outputFiles
648
+ println "++++++ " + createsBlock
649
if (outputFiles.size() == 0) {
650
err("Expected output files '$testOutputFile' but got nothing")
651
validated = false
0 commit comments