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

Condtionally set property in VSTeamBuildDefinitionProcessPhase #156

Merged
merged 3 commits into from
May 4, 2019

Conversation

danstur
Copy link
Contributor

@danstur danstur commented May 3, 2019

VSTeamBuildDefinitionProcessPhase

PR Summary

Fix for an issue where the condition property is not being set under Azure DevOps server under some circumstances (old builds, or possibly something to do with the update from TFS2018 to AzD, didn't investigate further after hitting the error). This causes an error when creating a VSTeamBuildDefinitionProcessPhase object. This PR makes the assignment of the variable conditional, which avoids the error.

PR Checklist

Not sure if a simple bug fix warrants mentioning in the Changelog, there's certainly no need to update the help and the psd1 also keeps unchanged. The test data was adapted

DaS added 2 commits May 3, 2019 13:20
VSTeamBuildDefinitionProcessPhase
- Second phase that does not have condition property.
@DarqueWarrior
Copy link
Collaborator

Reviewing now.

@DarqueWarrior DarqueWarrior merged commit 598b758 into MethodsAndPractices:master May 4, 2019
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.

None yet

2 participants