azure-pipelines-build-task

Node Cipheriv Warning in Azure DevOps Extension - Release Task

♀尐吖头ヾ 提交于 2020-08-27 22:24:15
问题 I am working on a project to develop an Azure DevOps release task extension. Recently, I am getting this warning message printed multiple times in the logs when the release task runs- "Warning: Use Cipheriv for counter mode of aes-256-ctr". I was not getting it earlier. And the time when I started getting this error, I only changed some console.log(..), and not even any code that could possibly trigger this error. (Might be some npm dependency updates!) Any idea regarding why am I getting

Node Cipheriv Warning in Azure DevOps Extension - Release Task

て烟熏妆下的殇ゞ 提交于 2020-08-27 22:23:29
问题 I am working on a project to develop an Azure DevOps release task extension. Recently, I am getting this warning message printed multiple times in the logs when the release task runs- "Warning: Use Cipheriv for counter mode of aes-256-ctr". I was not getting it earlier. And the time when I started getting this error, I only changed some console.log(..), and not even any code that could possibly trigger this error. (Might be some npm dependency updates!) Any idea regarding why am I getting

Azure DevOps Build Task: create a zip with contents identical to Visual Studio Publish

核能气质少年 提交于 2020-08-27 21:42:21
问题 In Visual Studio, when we publish to a folder, that folder contains exactly what we need to deploy. In Azure Pipeline, the Build Solution task produces a a bunch of (to us) unnecessary files plus a zip file (nice!). The zip contains the files we need, but buried in an crazy deep folder path: \Content\D_C\a\1\s\src\MyProject\obj\Release\Package\PackageTmp\our-files.dll What we would prefer is: \our-files.dll It also modifies connectionStrings in the web.config to support the deploy script it

VSTS Build Task Input Types

断了今生、忘了曾经 提交于 2020-08-23 08:35:08
问题 I googled last few days to get the list of input types supported by VSTS Task plugin, but don't get anything appropriate. Is this possible to create Grid in task plugin 回答1: At present, there is no way to create a Grid on the task input page. For a complete list of the supported types, take a look at the Reference for creating custom build tasks within extensions for details. This is schema definition for what your custom task JSON needs to conform to. If you look under inputs/items

XXX does not does not support provisioning profiles in azure build pipeline

送分小仙女□ 提交于 2020-07-21 03:35:25
问题 I'm building an Ionic 4 application in Azure build pipeline. When I try to run pipeline that has other cordova dependencies I'm getting the errors below during the Xcode archive step. ❌ error: AppAuth does not support provisioning profiles. AppAuth does not support provisioning profiles, but provisioning profile Beta2020 has been manually specified. Set the provisioning profile value to "Automatic" in the build settings editor. (in target 'AppAuth' from project 'Pods') ❌ error:

azure pipelines - how to break / cancel a release based on a conditional task result

为君一笑 提交于 2020-07-20 04:12:12
问题 I have a release pipeline which is triggered by CI where I want to push a new version of a nuget package if that version does not exist yet . For that I have a simple command line task which checks whether that nuget is present on nuget.org and stores the result in an environment variable. I can then set the condition for next steps which will only execute the step if that value variable is true. This works all fine, however I wonder how can I simply stop the release process and skip all

MsBuild Task on Azure DevOps: with different configuration for dependent projects

倖福魔咒の 提交于 2020-06-17 15:53:52
问题 i have one solutions with multiple projects. DSS.DMN.Client project dependens on other projects(have references) This is how my yaml files looks like - task: MSBuild@1 displayName: 'Build solution Client' inputs: platform: anyCPU maximumCpuCount: true configuration: 'Integration' solution: DSS.DMN.Client - task: CopyFiles@2 inputs: SourceFolder: '$(Build.SourcesDirectory)' Contents: '**\bin\**' TargetFolder: '$(Build.ArtifactStagingDirectory)' - task: PublishBuildArtifacts@1 displayName:

Azure DevOps Pipeline - Power shell script , Copy Files using Variables

天涯浪子 提交于 2020-05-16 22:13:30
问题 I am working on Azure DevOps Build Pipeline and one of the task is to copy my dll and pdb files into a staging folder for example Code MyProject Bin Debug MyProject.dll MyProject.pdb Staging Client Libraries I want to use PowerShell script task and I am using inline script. When I give below it is not working Copy-Item $(Build.Repository.LocalPath)\Code\MyProject\Bin\$(DebugBuildConfiguration) -Destination $(ClientLibrariesFolder) Below are my variables Variable Name Variable Value