Skip to content

Commit

Permalink
Merge pull request rancher#10415 from izaac/cypress_tags_env_var
Browse files Browse the repository at this point in the history
[Automation] - Use the grepTags as environment variable
  • Loading branch information
izaac authored Feb 7, 2024
2 parents e69699d + 86a4006 commit 981877b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cypress/jenkins/cypress.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@ yarn add --dev -W mocha mochawesome mochawesome-merge \
mochawesome-report-generator cypress-multi-reporters \
mocha-junit-reporter

NO_COLOR=1 cypress run --browser chrome \
NO_COLOR=1 CYPRESS_grepTags="CYPRESSTAGS" cypress run --browser chrome \
--reporter cypress-multi-reporters \
--reporter-options \
configFile=cypress/jenkins/reporter-options.json \
--env grepTags="CYPRESSTAGS"
configFile=cypress/jenkins/reporter-options.json

echo "CYPRESS EXIT CODE: $?"

0 comments on commit 981877b

Please sign in to comment.