-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
33 lines (33 loc) · 1018 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
24
25
26
27
28
29
30
31
32
33
name: $(Date:yyyy-MM-dd)-rev$(Rev:r)
trigger:
batch: true
branches:
include:
- master
- rel/*
pr:
- '*'
resources:
repositories:
- repository: templates
type: github
name: thnetii/azure-pipelines
endpoint: thnetii
variables:
- group: thnetii.octokit.net-extensions
jobs:
- template: templates/dotnetcore/azure-pipelines.yml@templates
parameters:
checkout:
- checkout: self
submodules: true
presteps:
- script: |
dotnet user-secrets set -p test/THNETII.Octokit.Test "Octokit:Credentials:AuthenticationType" "$(Octokit.Credentials.AuthenticationType)"
dotnet user-secrets set -p test/THNETII.Octokit.Test "Octokit:Credentials:Token" "$(Octokit.Credentials.Token)"
displayName: dotnet user-secrets set -p test/THNETII.Octokit.Test
poststeps:
- script: |
dotnet user-secrets clear -p test/THNETII.Octokit.Test
displayName: dotnet user-secrets clear -p test/THNETII.Octokit.Test
condition: always()