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

Fix WhenDeclaration environment condition. #326

Merged
merged 1 commit into from
Jan 28, 2021
Merged

Fix WhenDeclaration environment condition. #326

merged 1 commit into from
Jan 28, 2021

Conversation

pkwarren
Copy link
Contributor

Update the WhenDeclaration environment condition to support the 'name'
and 'value' parameters. Fix the logic of evaluating the condition to
ensure that the environment variable matches the expected value. Update
tests to verify the environment condition is now being evaluated
properly.

Fixes #325.

Update the WhenDeclaration environment condition to support the 'name'
and 'value' parameters. Fix the logic of evaluating the condition to
ensure that the environment variable matches the expected value. Update
tests to verify the environment condition is now being evaluated
properly.

Fixes #325.
Copy link
Contributor

@stchar stchar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great

@stchar stchar merged commit 4ffdfa2 into jenkinsci:master Jan 28, 2021
@stchar
Copy link
Contributor

stchar commented Jan 28, 2021

Merged, thank you

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

Successfully merging this pull request may close these issues.

WhenDeclaration environment condition isn't working properly
2 participants