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
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:
But you already have the right steps in the workflow, in fact youâre quite close to a first successful build / test!
All you should do is:
- Select the Script step (âDo anything with Script stepâ in the default config)
- 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!
I hope this helps, if youâd have any questions just let us know!