Replies: 4 comments 3 replies
-
In my experience this is some sort of issue with your yaml. Is this the full yaml? |
Beta Was this translation helpful? Give feedback.
-
I had the same error, invalid json. In my case I was missing the regex on each branch and it seemed like the next version calculator failed silently and produced an invalid json. I would suggest to test your regex and make sure they work for your branches. |
Beta Was this translation helpful? Give feedback.
-
Also had a similar issue and in my case i was using an invalid variable on
a label definition, but with such a small yaml most of the configurations
likely come from the default template...
A sexta, 6/06/2025, 10:59, Kjell Olav Håland ***@***.***>
escreveu:
… I had the same error, invalid json. In my case I was missing the regex on
each branch and it seemed like the next version calculator failed silently
and produced an invalid json. I would suggest to test your regex and make
sure they work for your branches.
—
Reply to this email directly, view it on GitHub
<#4558 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAMPWJVW3HIZ4JIH25TYFEL3CFJ6XAVCNFSM6AAAAAB6CUWG5SVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGMZYG44TMNA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Ditto on the invalid yaml. v6 has really shaken things up and I have been really struggling to get:
To be fair i've found configuration a little trial and error in previous versions so I compromised when I had a config that was fit for purpose but 6 seems to be a completely different beast. As others have suggested I'd try starting from a clean standard config and build back up to where you want to get. That's where I am too :) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I just wanted to ask if someone out there had an experience on how to fix the error "GitVersion output is not valid JSON." This is happening when merging the main into a feature branch. Below is my config in YAML
error
In the pipeline
GitVersion yaml
Is there something I need to change in a config, or is there something wrong with my GitVersion yaml?
Beta Was this translation helpful? Give feedback.
All reactions