-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix mistaken Jenkinsfile and add .NET Android
pwsh should be shell outside of Windows
- Loading branch information
Showing
4 changed files
with
71 additions
and
21 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
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash -e | ||
|
||
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) | ||
|
||
source $SCRIPT_DIR/test_common.sh | ||
source $SCRIPT_DIR/prepare_env.sh | ||
|
||
banner "Looking up connected Android device" | ||
android_device=$($HOME/.dotnet/tools/xharness android device) | ||
if [ "$android_device" == "" ]; then | ||
echo "Failed to find Android device" | ||
exit 2 | ||
else | ||
echo "Found $android_device" | ||
fi | ||
|
||
banner "Shutdown Test Server for Android" | ||
$SCRIPT_DIR/stop_android.sh $android_device | ||
|
||
banner "Shutdown Environment" | ||
end_tests |
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