8.2.1. Azure Devops Integration¶
8.2.1.1. Background¶
You have a running Axivion Suite configuration.
Additionally, you want to integrate Axivion violations into Azure Devops.
8.2.1.2. What needs to be done?¶
Install the Axivion Azure Devops Plugin.
Read the marketplace readme file for configuration options, task definitions and examples.
A minimal pipeline definition using the Axivion plugin could look like this:
trigger:
- main
pr:
- main
pool:
name: default
vmImage: ubuntu-latest
steps:
- script: ./axivion/start_analysis.sh
displayName: 'Execute Axivion CI mode analysis with JSONReport'
- task: PublishBuildArtifacts@1
name: AxivionJsonResults
inputs:
pathtoPublish: '$(Pipeline.Workspace)/s/results.json' # Path to the Axivion JSON Report
artifactName: AxivionJsonResults
- task: Axivion-CommentPullRequest@0
8.2.1.3. User Interface contributions¶
Job Summary with new Axivion violations¶
Axivion Report Tab in the Job Summary¶
A status check which fails on new issues¶
A pull request annotated with violations from Axivion¶