This is a playground I have thrown together to better understand the cost / complexities of creating an inhouse solution for build and testing a Unity3D mobile game. At a stretch this could also be a template to quickly get build and test automation up and running.
- Jenkins setup using configuration as code
- Unity Personal License activation in Jenkins
- Connection Bridge
- Local Android Automation
- Only supports Linux as a Host
- Create a
.env
file in theinfrastructure
directory, this file should contain the required environment variables.
GITHUB_API_TOKEN=********
UNITY_USERNAME=********
UNITY_PASSWORD=********
- Run
docker compose up
from theinfrastructure
directory to startup the infrastructure part of the solution. - Run the
unity-license
job in jenkins, this can be found athttp://127.0.0.1:8080/
- Now you should be able to freely run
unity
andunity-appium
jobs as desired.
- documentation (just some markdown files)
- support android emulator via docker image in appium
- support for cloud appium devicefarm eg.
BrowserStack
orSauceLabs
- support OSX and Windows as Hosts
- remote debugger tool
- extend frameworks querying functionality
- iOS Build support
- iOS Test support
- Windows Build support
- Windows Test support
- Realtime Test Framework support
- Upload to GooglePlay - https://plugins.jenkins.io/google-play-android-publisher/
- Validate AAB / APK
- Unity Package for Unity Runtime Code
- Nuget Package for C# Test Framework Code