selenium webdriver - Set up Protractor tests with Jenkins -


i need protractor tests run using jenkins. know has been asked before, , this seems answer. i'm confused bash script comes , how move forward. here's i've got:

protractor config file:

var htmlscreenshotreporter = require('protractor-jasmine2-screenshot-reporter'); require('jasmine-reporters');  exports.config = {   seleniumaddress: 'http://localhost:4444/wd/hub',   capabilities: {     'browsername': 'chrome'   },   framework: 'jasmine2',   suites: {...},   jasminenodeopts: {     showcolors: true,     defaulttimeoutinterval: 10000   },   onprepare: function() {     global.isangularsite = function(flag) {       browser.ignoresynchronization = !flag;     };     browser.manage().window().setposition(0,0);     browser.manage().window().setsize(1280, 1024);   }   jasmine.getenv().addreporter(     new jasmine.junitxmlreporter('protractor_output', true, true)   ); } 

how can tests run jenkins? please help


Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -