jeudi 20 août 2015

How to pass parameter to maven test

I have One test suit running in two environment. Sometimes I would like to run tests in localhost:8080 and sometimes localhost:8585. Jenkins run the testes by "mvn test" command

How could I pass the port by parameter? Something like "mvn test 8080"

Aucun commentaire:

Enregistrer un commentaire