Closed Bug 1527818 Opened 3 years ago Closed 2 years ago

[Coverity] Create a try job that performs coverity capture and analysis on m-c

Categories

(Firefox Build System :: Source Code Analysis, enhancement, P2)

enhancement

Tracking

(firefox71 fixed)

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: andi, Assigned: andi)

References

Details

Attachments

(2 files)

In order to sync Coverity Platform with the actual contents of our tree we need to have a try job that performs periodical captures of analysis of the builds and submits it to Coverity Platforms.
For the time being we are only interested in the linux64 target.

If it's periodical, don't you want a cron job rather than try?

There are several reasons why I would prefer a try job:

  • The build dependencies are automatically resolved
  • Every time m-c refreshes we want to start a new build

Right now I'm building it here for testing purposes and It's a pain when for example cbindgen needs update.

I mean a cron job as in https://dxr.mozilla.org/mozilla-central/source/taskcluster/docs/cron.rst

But if you want it on every m-c push, you can also just have a normal job with run_on_projects: ['mozilla-central']

Thanks for this, still I don't find an example where run_on_projects in a task definition.

Because it's run-on-projects :(

Right, you rock! Thank you!

The priority flag is not set for this bug.
:sylvestre, could you have a look please?

Flags: needinfo?(sledru)
Severity: normal → enhancement
Flags: needinfo?(sledru)
Priority: -- → P2
Depends on: 1541067
No longer depends on: 1541067

The latest patch adds the possibility of having this kind of job part of try. Even though this is WIP, this is very close on moving this job from jenkins to try.

Attachment #9093922 - Attachment description: Bug 1527818 - WIP - Add Coverity analysis on full build. → Bug 1527818 - Add Coverity analysis for full build on try.
Pushed by bpostelnicu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/de2c00f37a4a
Add Coverity analysis for full build on try. r=marco,bastien
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
See Also: → 1648710
You need to log in before you can comment on or make changes to this bug.