I'm running npm run test
in my Bamboo Specs. The test runs fine but after it completes, the job just stops and hangs. Is there a way to 'Ctrl + C' like in command line to exit the jest test?
This is my bamboo yaml:
App.test.js:
tasks:
- any-task:
plugin-key: com.atlassian.bamboo.plugins.bamboo-nodejs-plugin:task.builder.npm
configuration:
isolatedCache: 'false'
runtime: Node.js
command: install
description: npm install
- any-task:
plugin-key: com.atlassian.bamboo.plugins.bamboo-nodejs-plugin:task.builder.npm
configuration:
isolatedCache: 'false'
runtime: Node.js
command: run test
description: npm run test
Ah ok, I realised I need to do
set CI=true