]>
Commit | Line | Data |
---|---|---|
ac3d33df JK |
1 | resources: |
2 | - repo: self | |
3 | ||
4 | jobs: | |
5 | - job: coverity | |
6 | displayName: 'Coverity' | |
7 | pool: | |
8 | vmImage: 'Ubuntu 16.04' | |
9 | steps: | |
0c9c969a UG |
10 | - script: | |
11 | cd $(Build.SourcesDirectory)/azure-pipelines/docker | |
12 | docker build -t libgit2/xenial --build-arg BASE=ubuntu:xenial -f xenial . | |
13 | displayName: 'Build Docker image' | |
ac3d33df | 14 | - task: Docker@0 |
0c9c969a | 15 | displayName: Analyze |
ac3d33df JK |
16 | inputs: |
17 | action: 'Run an image' | |
0c9c969a | 18 | imageName: libgit2/xenial |
ac3d33df | 19 | volumes: | |
0c9c969a UG |
20 | $(Build.SourcesDirectory):/home/libgit2/source |
21 | $(Build.BinariesDirectory):/home/libgit2/build | |
ac3d33df JK |
22 | envVars: | |
23 | COVERITY_TOKEN=$(COVERITY_TOKEN) | |
0c9c969a UG |
24 | workDir: '/home/libgit2/build' |
25 | containerCommand: '/home/libgit2/source/azure-pipelines/coverity.sh' | |
ac3d33df | 26 | detached: false |