-
Notifications
You must be signed in to change notification settings - Fork 653
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
GH-2127 - allow json and buildserver output at the same time #2128
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great stuff! What happens if you duplicate -output json
, for instance? Also, it's now impossible to not output JSON, true?
We use ISet, that means only one instance will be saved.
We add by default in the constructor of |
But not using json at all, I think the old behavior allowed that. Let me check |
@asbjornu now it's possible to add only |
2ae8fcc
to
c36e052
Compare
Interesting! This will help with one of the long time issues with using GitVersion and Cake on CI system. Namely that you would have to run GitVersion twice, once to set the BuildServer version and then again to get the asserted variables to use in rest of script. |
Right, that was one of the reasons I implemented this, to avoid running twice. |
7227f18
to
6f05594
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Brilliant!
@gep13 I think this change will break cake alias for GitVersion, am I right? |
Off the top of my head, I am not sure. I would need to check. Travelling at the minute, so not in a position to look at this just now. |
3251757
to
a04dffb
Compare
a04dffb
to
5ddf4a2
Compare
5ddf4a2
to
280a265
Compare
I think it will close #1236, |
Good analysis. Please add |
Closes #2127 Closes #1236