Skip to content

[User Build V2] logFilePatterns in results tasks does not work as a glob pattern #642

Description

@FALLAI-Denis

Development environment used

  • Z Open Editor version: 6.7.1
  • Editor Platform
    • Visual Studio Code
    • Red Hat OpenShift Dev Spaces
    • Eclipse Che
  • Editor Platform Version: 1.137.0
  • Operating System: Windows 11
  • Java Version: JRE 21
  • Related to RSE API?
    • RSE API Plugin version:
    • Zowe CLI version:
    • Node.js version:
  • Logs attached: no

Problem Description

The logFilePatterns property in a result task does not work with a glob pattern.
The property is translated into a find command using the -name option,
The ** pattern is not processed by the -name option find command as in a true glob pattern.

See File name generation

Observed behavior

The following statement does not find .log files more than one subfolder level deep:
Image

2026-09-12T15:10:46.507Z: CRRZG5283I Executing SSH command: 
/bin/find /u/J070188/DBB -type f -name '/u/J070188/DBB/LOGS/S9TL1A.cbl/**/*.json'
...
2026-09-12T15:10:48.952Z: CRRZG5283I Executing SSH command: 
/bin/find /u/J070188/DBB -type f -name '/u/J070188/DBB/LOGS/S9TL1A.cbl/**/*.log'
...
2026-09-12T15:10:51.340Z: CRRZG5283I Executing SSH command: 
/bin/find /u/J070188/DBB -type f -name '/u/J070188/DBB/LOGS/S9TL1A.cbl/**/*.html'
Image Image

The pattern {text1,text2...} is not supported.

Image
2026-09-12T15:41:19.235Z: CRRZG5283I Executing SSH command: 
/bin/find /u/J070188/DBB -type f -name '/u/J070188/DBB/LOGS/S9TL1A.cbl/**/*.{json,log,html}'
2026-09-12T15:41:21.308Z: CRRZG5266I Total log files found: 0

Expected behavior

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions