Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to have conditionals for the parameters? #9

Open
Cosmin-Gramada opened this issue Feb 9, 2018 · 2 comments
Open

Is it possible to have conditionals for the parameters? #9

Cosmin-Gramada opened this issue Feb 9, 2018 · 2 comments

Comments

@Cosmin-Gramada
Copy link

Is it possible to have conditionals for the parameters?

For example, my matrix build will trigger test builds based on multiple parameters:
os.name=Windows,OS X,ios,android
os.version=8.1,10,Sierra,High Sierra,10.3,11,7.0,8.0
browser.name=chrome,safari,firefox
browser.version=63,64,10,11,57,58

This will create a lot of combinations that are not supported (or no longer relevant), like
os.name=Windows
os.version=High Sierra
browser.name=safari
browser.version=64

Is there any way to apply conditions for parameters so that the test build is started if a condition is satisfied?

@presidentio
Copy link
Owner

Hello. Yes, you can enable "Only diagonal" checkbox, and it will mean that builds will be triggered only for respective parameters. Example:
Parameters:
os.name=Windows,OS X,ios
os.version=8.1,10,Sierra
browser.name=chrome,safari,firefox
browser.version=63,64,10
Builds:

  • Windows, 8.1, chrome, 63
  • OS X, 10, safari, 64
  • ios, Sierra, firefox, 10

@Cosmin-Gramada
Copy link
Author

Thanks, that should do the trick for now.
However, I was referring in my question to something similar to how it's behaving in Jenkins.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants