问题
On Velocity's GH page it mentions "easy CI integration" as one of the benefits, but I haven't seen any documentation about it.
How can I integrate Velocity with Jenkins?
回答1:
You should use:
meteor --testmeteor run --test
This does the same thing as the velocity-ci without the extra installation
回答2:
You could try the velocity-ci
velocity-cli
NPM module for running your velocity test suites from the command-line
Installation
npm install -g velocity-ci
Run
From inside your project directory type velocity
How it works
The velocity-cli spawns a meteor process and connects to it using DDP. PhantomJS connects to the meteor process to trigger client side tests. Test results received via DDP are printed at the console. This process exits with the appropriate exit status code.
So the build step would be velocity
inside the meteor directory
来源:https://stackoverflow.com/questions/25559613/how-to-integrate-meteors-velocity-tests-with-jenkins