azure-devops

Azure DevOps Cancel deployment of stage when deploying another stage

岁酱吖の 提交于 2021-02-10 18:33:19
问题 We currently have our Azure DevOps release setup in the following way: What I'm trying to accomplish is to cancel the 2:00 PM deployment if the 9:00 AM deployment triggers, as well as cancel the 9:00 AM deployment if the 2:00 PM deployment triggers since we don't really want to deploy the same code twice, or even deploy the previous day's code the following day. Does anyone know if a way to do this in Azure DevOps? I've done a lot of searching for extensions, etc. to see if I can find

Azure DevOps Cancel deployment of stage when deploying another stage

好久不见. 提交于 2021-02-10 18:32:18
问题 We currently have our Azure DevOps release setup in the following way: What I'm trying to accomplish is to cancel the 2:00 PM deployment if the 9:00 AM deployment triggers, as well as cancel the 9:00 AM deployment if the 2:00 PM deployment triggers since we don't really want to deploy the same code twice, or even deploy the previous day's code the following day. Does anyone know if a way to do this in Azure DevOps? I've done a lot of searching for extensions, etc. to see if I can find

Pass a Variable group name using REST API Azure devops

ぃ、小莉子 提交于 2021-02-10 18:26:42
问题 Is there any way to pass a variable group name to a release pipeline using REST API without editing the release definition. I am able to do it using the following $defurl = "https://vsrm.dev.azure.com/org/proj/_apis/release/definitions/13?api-version=5.1" $def = Invoke-RestMethod -Uri $defurl -Method Get -Headers $header $def.variableGroups="VariableGroupName" $json = @($def) | ConvertTo-Json -Depth 99 $udef = Invoke-RestMethod -Uri $defurl -Method Put -Body $json -ContentType "application

dist folder on basic vue.js

微笑、不失礼 提交于 2021-02-10 16:21:49
问题 I created a basic vue.js with Visual studio 2019. I put it on a git in my private azure server. I have a windows build agent. yml for building, no error. trigger: - master pool: 'Default' - script: | npm install npm run build displayName: 'npm install and build' I tried somes "copy/archive files" commands. One of them - task: CopyFiles@2 displayName: 'Copy Files to: $(Build.ArtifactStagingDirectory)/VuejsApp1' inputs: TargetFolder: '$(Build.ArtifactStagingDirectory)/VuejsApp1' Every method

Successful deployment still leads to default page

吃可爱长大的小学妹 提交于 2021-02-10 15:44:05
问题 I followed the contents of three different tutorials in deploying a slightly-modified boilerplate React app to Azure App Services. The primary issue I'm having is that while all deployment pipelines and releases have been successful on Azure DevOps, navigating to the page results in the default landing page for non-deployed app services; Hey, Node developers! Your app service is up and running. Time to take the next step and deploy your code. I'll briefly describe the steps I took to get to

“Publish” programmatically on Azure Data Factory through powershell or Azure Devops pipeline step

假如想象 提交于 2021-02-10 15:40:15
问题 This question won't have any code because I haven't found any possible way so far but not even a straight no, it's not possible . Azure Data Factory uses adf_publish branch as the official branch on top of the master. ADF publishes the definitions of all the pipelines, triggers, linked services, etc to this adf_publish branch when on the GUI the user clicks on Publish . I need to do this programmatically. I don't want someone to go on the ADF portal itself and click on the Publish button so

Azure Boards - How to find over booked team member in sprint

為{幸葍}努か 提交于 2021-02-10 15:39:03
问题 We've recently started using Azure Boards and Sprints. Say we have two Team members, each with 20 hours a week capacity, 2 week sprint. Total team sprint capacity is then 80 hours. Now lets say I have 80 hours of tasks, 60 are assigned to team member A, 20 to team member B. Accident of course, but where in Azure Boards can we discover this aside from adding up each task effort remaining? The sprint seems very team based, looking for some audit tools to balance the workload properly. TIA. 回答1:

“Publish” programmatically on Azure Data Factory through powershell or Azure Devops pipeline step

吃可爱长大的小学妹 提交于 2021-02-10 15:38:36
问题 This question won't have any code because I haven't found any possible way so far but not even a straight no, it's not possible . Azure Data Factory uses adf_publish branch as the official branch on top of the master. ADF publishes the definitions of all the pipelines, triggers, linked services, etc to this adf_publish branch when on the GUI the user clicks on Publish . I need to do this programmatically. I don't want someone to go on the ADF portal itself and click on the Publish button so

“Publish” programmatically on Azure Data Factory through powershell or Azure Devops pipeline step

岁酱吖の 提交于 2021-02-10 15:37:34
问题 This question won't have any code because I haven't found any possible way so far but not even a straight no, it's not possible . Azure Data Factory uses adf_publish branch as the official branch on top of the master. ADF publishes the definitions of all the pipelines, triggers, linked services, etc to this adf_publish branch when on the GUI the user clicks on Publish . I need to do this programmatically. I don't want someone to go on the ADF portal itself and click on the Publish button so

VSTS Label Sources not reading Build Phase Output Variable

谁说胖子不能爱 提交于 2021-02-10 15:13:42
问题 I'm trying to tag a build using the built-in, tag sources functionality of team foundation server, the tag is created during the build phase and outputted as an output variable. However the label sources step never evaluates the variable and the step fails. Why does the label sources step not evaluate the value of the tag variable ? Tag sources has been setup like this The Tag step creates and outputs the tag Both the "Tag Step Logs" and the "PRINT ENV VARS" show the value of the variable