Ignore certain cucumber tags during Jenkins Run

817 Views Asked by At

I have a couple feature files that comprise of:

@Feature1
Feature 1
    
@Tag1 @Tag2
Scenario: Scenario 1

@Feature2
Feature  2
    
@Tag1 @Tag3
Scenario: Scenario 2

I want to know how to run scenarios with @tag1 but not ones that also have @tag2(Run the scenario feature file in this scenario)

Thanks in advance!

0

There are 0 best solutions below