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

Add a short example of using optional workspaces in when expressions #3308

Merged
merged 1 commit into from Oct 1, 2020
Merged

Add a short example of using optional workspaces in when expressions #3308

merged 1 commit into from Oct 1, 2020

Commits on Oct 1, 2020

  1. Add a short example of using optional workspaces in when expressions

    We've just added support for optional workspaces but I forgot to include
    an example showing how to use them as part of a When Expression.
    
    This commit adds a PipelineRun example YAML showing use of a
    workspaces.<name>.bound variable in a when expression.
    
    I've also updated pipelines.md to mention that you
    can use a when expression to evaluate whether an optional workspace was
    bound or not and to provide a short example snippet of using the bound
    variables in a when expression.
    Scott committed Oct 1, 2020
    Configuration menu
    Copy the full SHA
    4ed138b View commit details
    Browse the repository at this point in the history