i am trying to configure a status check in Azure Devops for a SonarQube analysis and i got this error:
Pull Request decoration failed: Unable to contact Azure DevOps Server: Pull request status rejected by status policy. Policy configuration requires status to be posted on iteration
The status on the pull requests stays in the waiting state.
I figured out, that this error only occurs if the status policy is configured with Reset conditions - Reset status whenever there are new changes. If it is configured without this setting, than everything works fine.
What can i do, to get this working with the Reset status toogle?
Reset conditions is used to determine when a posted status is no longer valid. If the status posted is specific to the latest code (i.e. a build), check Reset status whenever there are new changes to reset the status when the source branch changes.
as far as i understand this means, that the status check will be reset after new code has been pushed. Am i understand this not correctly?
I want a state where the pull request gets reevaluated if the code changes, e.g. if the first run returns 20% code coverage and than the coverage is improved i want it to succeed if the quality gate has been reached