microsoft – Pesquisa sobre Azure DevOps no Desenvolvimento de Software

Olá! Este questionário é parte de uma pesquisa baseada na investigação dos principais fatores que influenciam a aceitação da plataforma Azure no contexto do desenvolvimento de Software no Brasil.

As informações aqui registradas serão mantidas em sigilo e analisadas de forma conjunta, sem identificar os respondentes.

Tempo estimado de leitura e preenchimento: 5 min.

https://forms.office.com/Pages/ResponsePage.aspx?id=I328LGbrJ027GVBIKxQl-anwSs6-xAxIg1oIUeE9Mr5UMFhOSTJYMUdRVjlOTjdaTkhOMzBWN0ZDMC4u

Agradecemos sua colaboração!

devops – Azure Boards: Tasks being closed as part of Pull Requests bypass rules for closing tasks

I have setup a rule in Azure DevOps to prevent tasks being closed without first entering the Completed Work time. However it appears if the Dev selects to automatically close associated tasks as part of a pull request, it will by pass this rule. Therefore I have closed tasks on the board with no Completed Work time against them. Has anyone had a similar experience?

c# – How to build with different variables under different Azure DevOps Pipelines?

I want to have automated deployments via Azure Releases (or Pipelines :)) of a C# application to one of two on premises servers (testing and prod). They need slightly different configurations.

Currently the variable is in app.config XML file.

I cannot for the life of me figure out how to do this!

E.g., should I:

  1. Somehow overwrite the variable at build stage with a pipeline variable? How!?
  2. Maintain two different config files, and tell the build to build with the different config files. How?!
  3. Something else entirely?

All the tutorials I can find talk about Azure Apps (this isn’t one – it has to run on the on premise server) or appsettings.json (this is a variable in app.config).

I’ve figured out how to add variables to the build pipeline, but just not yet figured out how to get the thing to build with them!

Should I use “file transform” task on the agent job between the restore and build stages? Will that work for Pipeline variables? How?

How can I maintain a local overriding file, either on my dev machine, or on test and production, in such a way that it doesn’t easily get checked in and disrupt all the things?

How to use Azure DevOps Rest API to get code coverage details

I am trying to use “Code Coverage – Get Build Code Coverage” REST API, to get the code coverage details of my build:
enter image description here

When I use the api and do not specify any ‘flags’ values’, I only get the summary information.

And when I add flags=7 or flags=2 or flags=4, I only get

{
  "value": [],
  "count": 0
}

My question is how can I get the coverage details of my build using REST API?

git – Added Solution to Devops but Existing Website (angular) didnt commit correctly

this might be a combination of issues here is the steps i took:

Created a new solution in Visual Studio 2019 And created 2 projects

i then used powershell to create an Angular Web app and added it to the sln via “add existing web site”

in VS i now see the following:

enter image description here

I then decided to start setting up the Azure Devops environment and commit the solution to it

Here is where issue 1 arrised, the “regular” projects commited just fine however the
web application did not, this is what i see in Azure devops:

enter image description here

As you can see the “FestWise-Web” project is seen as a file and when opened it just shows a alphanumeric string inside: “5a485154e242189bf16479881e377550ee5ce7b2”

Shouldn’t i be able to somehow have the angular project be added to the Repo as well ?

The second issue is that in VS i see that the source control detects a change to the “FestWise-Web” [submodule]

but when i choose to commit it throws: fatal: unexpected sequence in commit output.

enter image description here

how can i solve this ?

Controlling and managing separate git repos on Azure DevOps for code security

My company is about to onboard some junior devs for the first time, and we want to limit their access to just the presentation layer. As it stands, everything is in one Git repo. The current plan is to fork the main repo, and modify it such that only presentation layer and the compiled assembles will be left. The new devs can then branch from there. The lead dev can just do the merge himself.

Is there a better and optimal way to approach this?

azure devops – Como instalar o NoMachine via linha de comando num servidor remoto sem GUI

Eu consigo me conectar a uma máquina virtual da Azure via ssh.

Mas, gostaria de fazer essa conexão via NoMachine para outros fins.

O NoMachine precisa ser instalado em ambas as máquinas (a minha e o servidor da azure).

Problema: nao encontrei como instalar o NoMachine via linha de comando para realizar a instalação na VM Azure. Só é possível, até onde encontrei, realizar o donwload direto do site.

Alguém já precisou fazer isso ou passou por uma situação parecida?

azure devops – Restrict “Complete” deployment deployment in release pipelines

Is there a way to only allow “Incremental” deployment via CI/CD release pipelines?

We had to learn it the hard way that when you do complete deployment you lose all of the services in the target environment (all of the resources get deleted).

Please ask in case if you require more information on this.

powershell – Nuget.exe push ***.nupkg & Azure DevOps Artifacts

I’m currently working on my organizations migration from on prem nuget (v2) to Azure DevOps Artifacts. (Cloud) We’ve got a few dozen packages with a variety of versions that I’d like to shove into AzDo Artifacts. It looks like I could do this with powershell and use MyFileSharePath***.nupkg as the path and it ought grab them all and push each individual version of each package.

Is this a viable approach?
Is there a better method I should look into?

This question appears similar but involves all on prem sources. Not sure if that matters.:

Can I upload existing NuGet packages to an Azure DevOps artifacts feed?

how to make a sharepoint form and connect it to azure devops (visual studio)

I would like to make a form of some sort in sharepoint so users can report bugs wich will then be sent directly to our backlog in azure devops (visual studio). Could anybody tell me how i can make this connection in sharepoint as i haven’t found any information about this online, maybe my google skills aren’t great i don’t know 😉