waitforqualitygate directive does not work for multiple sonar analysis in pipeline

XMLWordPrintable

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major
    • Component/s: sonar-plugin
    • None
    • Environment:
      Jenkins 2.122
      Pipeline 2.5

      The waitforqualitygate  directive does not work with multiple sonar analysis with withSonarQubeEnv directive in Jenkins pipeline. If there are multiple withSonarQubeEnv directive with corresponding waitforqualitygate directive, the taskid used by all waitforqualitygate is only for the first  withSonarQubeEnv directive. Hence the second or the following waitforqualitygate directive  provides false results which refers to the task id for first withSonarQubeEnv directive not for second or following withSonarQubeEnv directive.

            Assignee:
            Rafael Ramos
            Reporter:
            Avijit Pal
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: