diff --git a/azure-pipelines.yml b/azure-pipelines.yml index ec211303..26b4125d 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -145,18 +145,23 @@ steps: changeLogCompareToRelease: 'lastNonDraftRelease' changeLogType: 'commitBased' + - task: InvokeRESTAPI@1 inputs: connectionType: 'connectedServiceName' serviceConnection: 'IW4MAdmin-Master' method: 'POST' + headers: | + { + "Content-Type":"application/json", + } body: | - { - "current-version-prerelease": "$(VersionInformation.Major).$(VersionInformation.Minor).$(VersionInformation.Build).0", - "jwt-secret" : $(JWTSecret)" - } + { + "current-version-prerelease": "$(VersionInformation.Major).$(VersionInformation.Minor).$(VersionInformation.Build).0", + "jwt-secret" : $(JWTSecret)" + } urlSuffix: '/version' - waitForCompletion: 'false' + waitForCompletion: 'true' - task: PublishPipelineArtifact@1 inputs: