jenkins - Why doesn't postinstall run everytime? -
i have package.json file has following json @ bottom.
"scripts": { "postinstall": [ "./node_modules/bower/bin/bower install && ./node_modules/protractor/bin/webdriver-manager update" ] }
my reason having bower dependencies , protractor tests run after "npm install". however, seems "postinstall" doesn't run. i'm trying setup on jenkins, i'd able run following commands , go.
npm install grunt jenkins
the jenkins task calls tasks build, test, , run e2e tests.
i able fix changing command array string.
"scripts": { "postinstall": "./node_modules/bower/bin/bower install && ./node_modules/protractor/bin/webdriver-manager update" }
Comments
Post a Comment