azure-pipelines-release-pipeline

How do you import a release definition in Azure Devops (VSTS)?

ε祈祈猫儿з 提交于 2019-12-19 05:58:21
问题 I'm trying to copy a release definition from one Azure Devops (VSTS) project to another. In the source project I'm able to export the release definition as a json file. But I'm not able to find a way to import this into the target project. I only get options to create new definitions. 回答1: Go to Build and Releases and then Releases and there you will find an option. Click the + button and there is an option to import release definitions Let me know if you need further help. 回答2: Since VSTS is

No packages found with specified pattern

╄→гoц情女王★ 提交于 2019-12-18 21:17:12
问题 I am using Deploy azure app service to slot build step in Team Services, I want to be able to build my solution with PackageAsSingleFile set to False. However when I try to release the package with path to the artifact created I get "No packages found with specified pattern". Do I need to create two artifacts, one as zip file and one as a package of files to be able to do what I want? I have tried different path to folders, but I get same error no matter. 回答1: Refer to these steps: NuGet

How do I uninstall “Microsoft .NET Core 1.0.0 RC2 - VS 2015 Tooling Preview 1”?

狂风中的少年 提交于 2019-12-18 10:22:13
问题 I'm having trouble uninstalling Microsoft .NET Core 1.0.0 RC2 - VS 2015 Tooling Preview 1 . I'm in Windows 7, in the Programs and Features window. When I click uninstall , it brings up a dialog box, with the options repair , uninstall , and cancel . When I click uninstall , a "Open file" window pops up. I've googled a bit to see if there's a file I can download to sate this "Open file" window. I can't find one anywhere. Here are a few of the things I have looked at, but I can't make sense of

Passing release variables between two agent phases

放肆的年华 提交于 2019-12-18 05:54:23
问题 I'm working with TFS on-premise. My issue is that during a release I have two agent phases separated by a manual intervention. In the first agent phase, I set a variable with: Write-Verbose $("##vso[task.setvariable variable={0};]{1}" -f $variablename, $variable) Problem is that in the second agent phase, this variable doesn't exist anymore, even if the same agent is used for the second release phase. How may I pass a variable between two agent phases during the same release? 回答1: There is no

Azure DevOps - Is it possible to schedule a release for a specific day and time?

烂漫一生 提交于 2019-12-14 03:50:03
问题 I am using Azure-DevOps Release pipelines to automate deployments. I would like to schedule release creation to occur at a specific date and time. But according to the screenshot below, only days of the week can be selected. And you can't specify the trigger as one time only. This is a problem because the trigger will causes a release to occur every week on the specified days, and we will have to remember to turn the trigger off after every release, until we are ready to release again. Is it

VSTS “Deploy Compose Application to Service Fabric” to an agent with SF SDK 2.8 or 3.0 fails

血红的双手。 提交于 2019-12-14 03:13:41
问题 I use Deploy Compose Application to Service Fabric to deploy containers with VSTS on Service Fabric . My build agent had Service Fabric SDK 2.7. As soon as I upgrade it to 2.8 or 3.0, the VSTS task breaks with The ServiceDnsName for DefaultService 'xxx' is invalid 回答1: I cloned vsts-tasks, debugged ServiceFabricCompose and found out that UI parameter Application Name is placed into New-ServiceFabricComposeDeployment -DeploymentName . For old SDK 2.7 we had "fabric:/XYZ" in Application Name .

Running Load Tests in VSTS

可紊 提交于 2019-12-13 21:38:43
问题 I've been trying to get Jmeter load tests to run in VSTS thus far without avail. I've been back and forth (very slowly!) with the Microsoft support team about this, but as the issues are ironed out I would like to at least run a small set of load tests on our build machine using Jmeter and then have the results uploaded somehow to VSTS so they are easier to track. I have part 1 of this working: From the VSTS release definition I run a batch file that runs the load tests locally, and then

VSTS CD stage task always prints log in one go

﹥>﹥吖頭↗ 提交于 2019-12-13 21:01:50
问题 I would like to execute UI test cases as as part of CI/CD pipeline. I am using VSTS release management. I created a stage & run the command (npm run e2e-run) as part of one of the tasks, this triggers my test case execution. It takes around 1 hour to execute this task. Problem is I do not get any response until whole task (test execution) is done. I get only this message "Waiting for console output from an agent...". If I execute command locally in VS code then I get continuous logs (pass

Publishing test assemblies with artifacts in order to use them during functional tests on VSTS

笑着哭i 提交于 2019-12-13 16:13:42
问题 I am having a really hard time trying to figure out how to properly configure functional tests on my realease pipeline. I have a solution that contains some web projects being built using the default build configuration in VSTS. The artifact is ok and I can publish them using a release pipeline. So far so good, now I want to implement functional tests using CodedUI and have them integrated on my releases. We have a development server with a vsagent that was installed when I configured the

Run Cypress.io on VSTS Hosted Linux

不羁岁月 提交于 2019-12-13 15:16:54
问题 I'm trying to run Cypress tests on the Hosted Linux Pool for Visual Studio Team Services. Unfortunately, the Hosted Agent doesn't have all the dependencies for Cypress installed. Running the documented apt-get doesn't work: 2018-05-18T21:03:14.7423331Z ##[section]Starting: Install cypress dependencies 2018-05-18T21:03:14.7474742Z ============================================================================== 2018-05-18T21:03:14.7488281Z Task : Bash 2018-05-18T21:03:14.7501148Z Description :