NetSharp

NetSharp.git
git clone git://git.lenczewski.org/NetSharp.git
Log | Files | Refs | README | LICENSE

commit de54bd56403ff17ebf36147a63d048ae6be89dbc
parent 633d5c8c0912fb81260ffe39230be7f727dee883
Author: MikoĊ‚aj Lenczewski <mikolaj.lenczewski308@gmail.com>
Date:   Thu, 11 Jun 2020 21:37:57 +0100

Added webhook integration for azure-pipelines.yml
Diffstat:
Mazure-pipelines.yml | 23+++++++++++++++++++++++
1 file changed, 23 insertions(+), 0 deletions(-)

diff --git a/azure-pipelines.yml b/azure-pipelines.yml @@ -37,11 +37,33 @@ steps: projects: '**/*.csproj' arguments: '--configuration Release' +- task: InvokeRESTAPI@1 + inputs: + connectionType: 'connectedServiceName' + serviceConnection: 'Discord Webhook Service Connection' + method: 'POST' + body: | + { + "content": "Debug and Release build $(BUILD_BUILDNUMBER) succeeded." + } + waitForCompletion: 'false' + - task: DotNetCoreCLI@2 inputs: command: 'test' projects: '**/*.csproj' +- task: InvokeRESTAPI@1 + inputs: + connectionType: 'connectedServiceName' + serviceConnection: 'Discord Webhook Service Connection' + method: 'POST' + body: | + { + "content": "Tests for build $(BUILD_BUILDNUMBER) succeeded." + } + waitForCompletion: 'false' + ## We only want to build the NetSharp project, not the NetSharpExamples project. ## Users should clone the repo to run the examples. - task: DotNetCoreCLI@2 @@ -75,3 +97,4 @@ steps: SymbolServerType: 'TeamServices' TreatNotIndexedAsWarning: true SymbolsVersion: '2.\*' +