Last active
October 30, 2020 14:48
-
-
Save OtherDevOpsGene/e099deabd5b17edd3be4aa62e8159a3e to your computer and use it in GitHub Desktop.
Docker command to compile and run the Selenium test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -it --rm --name maven \ | |
-v "$(pwd)":/usr/src/maven \ | |
-v "$HOME/.m2":/root/.m2 \ | |
--workdir /usr/src/maven \ | |
--network selenium_default \ | |
maven:3.6.3-jdk-13 \ | |
mvn clean test -DtestUrl=http://44.55.66.77 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Replace 44.55.66.77 with your IP address or FQDN.