Add flag to recordIssues to use exit codes instead of setting result directly on the build

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      It would be useful to have recordIssues not directly set a build's result via the groovy object but have it return an exit code. As of now, the complete build and not just the stage in particular is marked as unstable or failure if the quality gate is breached. By using exit codes, the user could handle the result with a try / catch clause if wanted.

       

      In our usecase, we publish the check results to GitHub. In GitHub, we can then configure more granular if a stage is required or not.

            Assignee:
            Ulli Hafner
            Reporter:
            Jan
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: