forked from MicrosoftDocs/pipelines-dotnet-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
23 lines (19 loc) · 932 Bytes
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# add github_com_token & renovate_token as environment variables
trigger:
- master
pool:
vmImage: ubuntu-latest
steps:
- task: WhiteSource@21
inputs:
cwd: '$(System.DefaultWorkingDirectory)'
projectName: '$(Build.Repository.Name)_$(Build.SourceBranchName)_ADOplugin'
configuration: 'productName=ADO_$(System.TeamProject)'
displayName: 'WS-Scan'
- script: |
export RENOVATE_ENDPOINT='https://dev.azure.com/dimagorbonos/'
export RENOVATE_PLATFORM='azure'
export RENOVATE_REPOSITORIES='$(System.TeamProject)/$(Build.Repository.Name)'
export RENOVATE_CONFIG='{"onboardingConfig":{"extends":["github>whitesource/merge-confidence:beta","github>samq-ghdemo/renovate:demo"]}}'
docker run --rm -e GITHUB_COM_TOKEN=$(GITHUB_COM_TOKEN) -e RENOVATE_TOKEN=$(RENOVATE_TOKEN) -e RENOVATE_CONFIG -e RENOVATE_ENDPOINT -e RENOVATE_PLATFORM -e RENOVATE_REPOSITORIES renovate/renovate
displayName: 'Renovate'