I'm running the Mocha Parser Plugin. It complains that it can't find the tests. I run a task before I start the parser to confirm that I have the mocha.json file:
simple 03-Aug-2021 23:54:13 Starting task 'Check mocha.json' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.command' command 03-Aug-2021 23:54:13 Beginning to execute external process for build 'cwv - develop - feature-composer - Build and test cwv #40 (CWVW-DEV0-JOB1-40)'\n ... running command line: \n/bin/sh -c cat mocha.json\n ... in: /mnt/extraspace/bamboo-data/xml-data/build-dir/CWVW-DEV0-JOB1/repos/cwv\n build 03-Aug-2021 23:54:13 { build 03-Aug-2021 23:54:13 "stats": { build 03-Aug-2021 23:54:13 "suites": 1, build 03-Aug-2021 23:54:13 "tests": 24, build 03-Aug-2021 23:54:13 "passes": 24,
But the parser is still complaining.
simple 03-Aug-2021 23:54:13 Starting task 'Mocha Test Parser' of type 'com.atlassian.bamboo.plugins.bamboo-nodejs-plugin:task.reporter.mocha' simple 03-Aug-2021 23:54:13 Parsing test results under /mnt/extraspace/bamboo-data/xml-data/build-dir/CWVW-DEV0-JOB1... simple 03-Aug-2021 23:54:13 Failing task since test cases were expected but none were found.
Any ideas?
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.