APPIUM integration with bitrise

Hi @vinitapatil11,

Indeed we don’t have Maven docs or scanner yet. To be honest I don’t remember anyone asking for it, most likely because Android projects now use Gradle. We’ll try to make some time to add those, also feel free to add it yourself, our DevCenter is open source :wink:

Of course it’s still possible to do, all this means is that we don’t have related docs or auto setup (scanner) tool (yet), which means a bit more configuration.

I’d suggest you to register the repo as “Type: Other / Manual”

This will generate a really simple base configuration, which will clone the repository you specify but won’t really do anything else:

53

But you already have the right steps in the workflow, in fact you’re quite close to a first successful build / test! :wink:

All you should do is:

  1. Select the Script step (“Do anything with Script step” in the default config)
  2. Then specify the script (bash by default) which you use to build/test your maven project from Terminal/from Command Line

E.g. if you have a Makefile in your repo it might be as simple as:

#!/usr/bin/env bash
# fail if any commands fails
set -e
# debug log
set -x

# write your script here
make test

The exact script / commands depend on your setup of course. An important note: you can of course just run a script from your repo too, e.g. to run a ruby script called example_ruby_script.rb stored in the root of the repo:

#!/usr/bin/env bash
# fail if any commands fails
set -e
# debug log
set -x

# write your script here
ruby ./example_ruby_script.rb

That’s all! :wink:

I hope this helps, if you’d have any questions just let us know! :slight_smile: