Even after multiple branch creations and code PR to main branch. Code compute is not happening on multiple projects.
I have changed different quality gates, but it shows not compute.
Even after multiple branch creations and code PR to main branch. Code compute is not happening on multiple projects.
I have changed different quality gates, but it shows not compute.
Hey there.
Take a look at these docs! When is a quality gate not computed?
You’re gonna have to go a bit more in detail. What about the docs weren’t helpful? Do neither of those situations detailed (no New Code definition or single analysis) apply to you?
Yes Colin, we have New Code definition set up and Analysis is happening on branches, but it shows not computed.
let me know, if additional details needed
For your main branch, do you see multiple analyses listed under the Activity tab? I’m referring to here:
What if you navigate to the Activity tab like in the screenshot I shared? What do you see?
So this condition is true:
You have performed only one analysis on your code (the quality gate is computed after the second analysis).
And you need to perform a second analysis of this branch to have the quality gate computed.
Let say I have set my main branch to be Development, now Development branch should complete second Analysis than only quality gate is computed. Is my understanding, right?
Yes, that’s correct.
Ok, Thank you. we can resolve this.