What does this step:
Builds your Android project via gradle with the belonging AndroidTest variant.
gradlew ":app:assembleDemoDebug" ":app:assembleDemoDebugAndroidTest"
Why would you need it?
This step will generate all the APKs what you will need to run instrumentation test for your Android app.
It will generate an APK from your app and the belonging test APK too.
Required inputs for the step:
project_location: The root directory of your android project, for example, where your root build gradle file exist (also gradlew, settings.gradle, etc…)
module: Set the module that you want to build. To see your available modules please open your project in Android Studio and go in [Project Structure] and see the list on the left.
variant: Set the variant that you want to build. To see your available variants please open your project in Android Studio and go in [Project Structure] -> variants section.
apk_path_pattern: After the build the step will find the APK files with the given pattern.
Path of the generated (and copied) APK - after filtering.
Path of the generated (and copied) test APK - after filtering.