jenkins angularjs e2e karma test with webdriver

Posted: October 15, 2014 in web

Jenkins settings:

Execute shell:

#npm install
#bower install –dev
grunt cibuild
node_modules/protractor/bin/webdriver-manager start > /dev/null 2>&1 &
while ! curl http://localhost:4444/wd/hub/status &>/dev/null; do :; done
grunt cie2e


        karma: {
            unit: {
                configFile: 'test/karma.conf.js',
                singleRun: true
// Jenkins settings
            continuous: {
                configFile: 'test/karma.conf.js',
                singleRun: true,
                browsers: ['PhantomJS']
    grunt.registerTask('cibuild', [
    grunt.registerTask('cie2e', [

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s