How to run specific test/tag in cucumber and java when I running the test/tag from jars and cmd commands in the server?
I have project of Automation testing in Java Junit & Cucumber.
I am using in IntelliJ to wright the code
when I am using IntelliJ in my computer I know how to run specific tag
but if I run the tests from pipeline all the code and dependencies go inside jar’s and then I running the jar’s in the server using CMD commend. the server will run the tag I put inside CucumberRunner.java. maven commend not working in the server.
if I want to change the tag I must change that in the CucumberRunner.java and than push commit each time.
how can I running different tag in better way?