git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 2/2] ci(coverity): output the build log upon error

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 11, 2025, 14:25 UTC
Message-ID
<xmqqplfajqyh.fsf@gitster.g>
In-Reply-To
<3a829f11c07ddbb0a57a1ac832db686f29a9b632.1749650552.git.gitgitgadget@gmail.com>

"Johannes Schindelin via GitGitGadget" <gitgitgadget@gmail.com> writes:

Show 9 quoted lines
> From: Johannes Schindelin <johannes.schindelin@gmx.de>
>
> It is quite helpful to know what Coverity said, exactly, in case it
> fails to analyze the code.
>
> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
> ---
>  .github/workflows/coverity.yml | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
Wonderful.  Will queue, together with 1/2.  Thanks.
Show 18 quoted lines
>
> diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml
> index a5d99e59d4eb..1e8bd85ecd4e 100644
> --- a/.github/workflows/coverity.yml
> +++ b/.github/workflows/coverity.yml
> @@ -149,7 +149,11 @@ jobs:
>          run: |
>            export PATH="$PATH:$(cygpath -au "$RUNNER_TEMP")/cov-analysis/bin" &&
>            cov-configure --gcc &&
> -          cov-build --dir cov-int make
> +          if ! cov-build --dir cov-int make
> +          then
> +            cat cov-int/build-log.txt
> +            exit 1
> +          fi
>        - name: package the build
>          run: tar -czvf cov-int.tgz cov-int
>        - name: submit the build to Coverity Scan
Previous: Johannes Schindelin via GitGitGadgetNext: Johannes Schindelin via GitGitGadget
Message 7 of 10 in “Fix Coverity builds on Windows”
  1. 0/2 Fix Coverity builds on WindowsJohannes Schindelin via GitGitGadget, Jun 11, 2025
  2. 1/2 ci(coverity): fix building on WindowsJohannes Schindelin via GitGitGadget, Jun 11, 2025
  3. Junio C HamanoJun 11, 2025
  4. Johannes SchindelinJun 11, 2025
  5. Junio C HamanoJun 11, 2025
  6. 2/2 ci(coverity): output the build log upon errorJohannes Schindelin via GitGitGadget, Jun 11, 2025
  7. Junio C HamanoJun 11, 2025
  8. 0/2 Fix Coverity builds on WindowsJohannes Schindelin via GitGitGadget, Jun 11, 2025
  9. 1/2 ci(coverity): fix building on WindowsJohannes Schindelin via GitGitGadget, Jun 11, 2025
  10. 2/2 ci(coverity): output the build log upon errorJohannes Schindelin via GitGitGadget, Jun 11, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.