-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
Hello,
At the moment (Text Finder v1.15) there is no way to store the matched text from Text Finder as a variable.
e.g.
stage('Foo') { steps { script { def fooVar = findText(textFinders: [textFinder(alsoCheckConsoleOutput: true, regexp: 'xyz', returnstdout: true)]) echo fooVar } } }
I have a use case where I need to do some actions based on the matched text.
That also implies that to add another option to not change the "build result" because the user could take some other actions than changing build result.
Best regards