Skip to main content

How to authorize Azure DevOps Services (Cloud)

To authorize Azure DevOps Services with the Swimm web app, you will need to actively enable the OAuth Policy for each organization that will work with Swimm.

** Follow the steps: **

  1. If you haven't already, please create a Swimm workspace.
  2. Select Azure DevOps (cloud).
  3. Follow these instructions from Microsoft.
  4. Insert this script into a yaml file within your Azure pipeline:
pr:

pool:
vmImage: ubuntu-latest

steps:
- bash: |
echo "Verifying documentation with Swimm..."
git config --global user.name "Username"
git config --global user.email "me@example.com"
wget -O swimm_cli https://releases.swimm.io/ci/latest/packed-swimm-linux-cli
chmod +x ./swimm_cli
./swimm_cli --version
./swimm_cli verify
displayName: "Swimm Verify"

Once completed, you will be able to access your repositories in the web and create your first Swimm document.