jenkins - Is there any way to start appium server silently? -


use case: need start appium server on ci jenkins , run tests right after that. tests don't start because appium server starting in debug mode , doesn't switch command. have jenkins on windows machine following build steps (as windows batch command):

  • start /b node path_to_appium_server\appium.js --address 127.0.0.1 --port 4723
  • timeout 10
  • "path_to_tests_runner\vstest.console.exe" "path_to_dll\test.dll" , in case, tests cannot started because jenkins terminate first process (with appium).

basic issue permissions '*.dll' file contains tests , cannot ran bat file without 'runas' command (which waiting password) jenkins. jenkins job contains 3 build steps:

  • execute windows batch command

    start node path_to_appium_server\appium.js --address 127.0.0.1 --port 4723

  • run unit tests vstest.console (to build option need install vstest runner plugin)

    specify path dll , command line parameters

  • execute windows batch command

    taskkill /f /im node.exe

second step resolve permission issue dll file.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -