-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update appium/drivers versions (#22552)
* Update appium/drivers versions * Use newer .NET SDK * Try to uninstall appium / cleanup first * Invoke appium -v in try/catch * Log npm into LogDirectory and verbose * Use newer appium doctor commands The separate doctor package is deprecated and now appium contains doctor commands for drivers and plugins: * Remove added artifact stage These will get picked up by virtue of being placed in $(LogDirectory) now * Fix logic syntax * Fix ps command for create dir * Fix path combine for logs * Fix logging options * Try ignoring appium doctor exit code * Try driver uninstall directly with npm * Try using update/install * Use same npm command appium does to install driver * Install drivers based on platform * Remove clearing .appium user folder * Try setting APPIUM_HOME to a local folder * Move variables * Remove old appium cleanup We now are setting APPIUM_HOME which will point appium to where we want our drivers/plugins saved, and this directory will be inside the CI/CD working directory so it should be 'clean' every time we run this. We shouldn't ever see the uninstall driver commands run, and we shouldn't need to touch any ~/.appium* folders from other pipelines. * Install explicit versions * List out appium home dir, not npm logs
- Loading branch information
Showing
5 changed files
with
117 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters