We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
When I my tests, with :
NODE_ENV='test' NO_PROXY=* jenkins-mocha test.js
The command:
shell.exit(shell.exec(command.join(' ')).code);
execute :
node '/.../node_modules/.bin/nyc' --reporter lcov --reporter text-summary --report-dir /.../artifacts/coverage -- node '/.../node_modules/jenkins-mocha/node_modules/.bin/_mocha' --reporter '/.../node_modules/spec-xunit-file/index.js' --colors 'test.js'
My tests are ok, I've got this message :
X passing (Xs)
artifacts folder and files are weel created
But Test are never kill, Jenkins cannot pass to next step.
Here ar my devDependencies :
"devDependencies": { "bunyan": "^1.8.1", "chai": "3.5.0", "chai-as-promised": "5.3.0", "eslint": "^3.0.1", "gulp": "^3.9.0", "istanbul": "^0.4.3", "jenkins-mocha": "6.0.0", "mocha": "^2.5.3", "mocha-jenkins-reporter": "0.3.10", "nock": "9.1.0", "node-dev": "3.1.3", "portfinder": "1.0.3", "uuid": "2.0.2" }
If I launch my tests :
NODE_ENV='test' NO_PROXY=* istanbul cover _mocha test.js
Tests are good and script was kill automaticly at the end.
Do you know why ?
Thx
The text was updated successfully, but these errors were encountered:
Note: If I use "jenkins-mocha": "5.0.0". I don't have this problem.
Sorry, something went wrong.
It should be related to: https://boneskull.com/mocha-v4-nears-release/#mochawontforceexit
No branches or pull requests
Hello,
When I my tests, with :
NODE_ENV='test' NO_PROXY=* jenkins-mocha test.js
The command:
shell.exit(shell.exec(command.join(' ')).code);
execute :
node '/.../node_modules/.bin/nyc' --reporter lcov --reporter text-summary --report-dir /.../artifacts/coverage -- node '/.../node_modules/jenkins-mocha/node_modules/.bin/_mocha' --reporter '/.../node_modules/spec-xunit-file/index.js' --colors 'test.js'
X passing (Xs)
But Test are never kill, Jenkins cannot pass to next step.
Here ar my devDependencies :
If I launch my tests :
NODE_ENV='test' NO_PROXY=* istanbul cover _mocha test.js
Tests are good and script was kill automaticly at the end.
Do you know why ?
Thx
The text was updated successfully, but these errors were encountered: