Skip to content

Commit

Permalink
assemble coverity submit url
Browse files Browse the repository at this point in the history
  • Loading branch information
kortemik committed Dec 10, 2024
1 parent 1ab77ea commit 1ed1c80
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/coverity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,5 +101,8 @@ jobs:
- name: Prepare build id
run: printf "COVERITY_BUILD_ID='%q'\n" "$(jq -r '.build_id' response)" >> $GITHUB_ENV

- name: Build Coverity Submit URL
run: printf 'COVERITY_SUBMIT_URL=%q/%s/builds/%s/enqueue' "https://scan.coverity.com/projects" "${{ vars.COVERITY_PROJECT_URL_ID }}" "${{ env.COVERITY_BUILD_ID }}" >> $GITHUB_ENV

- name: Trigger Coverity build
run: curl -X PUT -d token${{ secrets.COVERITY_TOKEN }} "https://scan.coverity.com/projects/${{ vars.COVERITY_PROJECT_URL_ID }}/builds/${{ env.COVERITY_BUILD_ID }}/enqueue"
run: curl -X PUT -d token${{ secrets.COVERITY_TOKEN }} ${{ env.COVERITY_SUBMIT_URL }}

0 comments on commit 1ed1c80

Please sign in to comment.