Questions tagged [azure-repos]

Azure Repos is the version control repository for Azure DevOps (previously VSTS) using either TFVC or Git.

Azure Repos is the version control repository for Azure DevOps (previously Visual Studio Team Services, VSTS) using either TFVC or Git.

380 questions
0
votes
1 answer

Access Azure Repos Service Connection PAT from yml

I have a service connection created for Azure Repos in a separate Azure DevOps org using a PAT. I would like to be able to access that PAT from a PowerShell script in my pipeline yml since that same PAT has access to a nuget feed in the external org…
Jeff
  • 35,755
  • 15
  • 108
  • 220
0
votes
0 answers

Azure DevOps & unable to determine workspace when attempting to create a new branch

I'm having issue with running a piece of PS code within a task within my pipeline. Provided below is the code: cd C:\PowerShell # Change directory to location where TF.exe is hosted on the server. Set-Alias tf "C:\Program Files (x86)\Microsoft…
0
votes
1 answer

Azure Pipelines Yml Template in Public GitHub Repo

I have a public GitHub repo with some Azure Pipelines yml template files. I want to create a pipeline that uses these templates. I don't want to use an OAuth based service connection, because the whole concept of an OAuth Service Connection is…
Jeff
  • 35,755
  • 15
  • 108
  • 220
0
votes
2 answers

Azure Git: How not to select some files for merge

I am working with Azure DevOps Git. I have a repo with 2 branches Development and Release. I made 5 changes in Release branch, all in different folders, all in different commits. Now I need to merge only 3 of those changes to Development branch i.e.…
ChumboChappati
  • 1,442
  • 4
  • 18
  • 38
0
votes
1 answer

Publish a build artifect to a remote Git Repo - Azure DevOps

I have a build pipeline and I would like to publish the build artifect to a remote location which is a folder in an external Git repo. I have been able to create a "Azure Repos/Team Foundation" Server service connection to point to the external…
Azure Ninja
  • 261
  • 4
  • 15
0
votes
2 answers

.git/refs/heads not getting all branches

When I run .git/refs/heads, it shows only the branches that I have checked out locally. How can I create refs/heads to all my branches? Or how can I create refs/heads to all the origin/? I am working with Azure DevOps. I am using their predefined…
MSOUFAN
  • 101
  • 2
  • 12
0
votes
3 answers

azure repo branch policies

I've spent the afternoon tidying up some repos in azure devops. All is going well. One question i can not get an answer to is limiting / protecting branches. I'm working with an existing project with work flow branches: {new…
user3067684
  • 936
  • 9
  • 18
0
votes
3 answers

Is it possible to approve pull requests from azure repos in micorsoft teams?

Right now i see that only pull request URL is supplied through the notification. Is it possible to modify either the azure devops connector or modify azure repos subscription in microsoft teams to include approval as well
Vaish
  • 3
  • 2
0
votes
1 answer

Unable to connect to Azure DevOps Repo from C#

I have a web api which connects to azure devops repo and retrieves some files to do some operations. Problem is, I am unable to connect from the web service. I get the error "SocketException: A connection attempt failed because the connected party…
0
votes
0 answers

Can one view GitHub files in fullscreen?

Is it possible to view a file on GitHub in fullscreen mode with syntax highlighting like one can on an Azure Repo?
0
votes
2 answers

How do I release only changes project from multiple project in one .sln?

I have 7 projects in one .sln. I am using azure devops. There is 4 api and 3 web. I have created two different pipeline for api and web. When commit then both pipeline is triggered. What I want.... I want only changes project will trigger, build and…
0
votes
1 answer

Giving a script Git access to a single Azure Repo

I want to poll an Azure Repo for changes with Git. A personal access token from my account would give it too much permissions. Should I create a new user in Azure AD, add it to Azure Repo with read only and use it in the script? Or is there a better…
Yannick
  • 535
  • 4
  • 18
0
votes
1 answer

My build pipeline is getting failed at checkout step. Using self hosted agent to run pipeline

fatal : unable to access 'URL' ssl certificate problem : unable to get local issuer certificate. Git fetch failed with with exit code 128
0
votes
1 answer

How to use Team: Signin with VSCode

I am running into an error message which I don't understand while trying the following commande: Team: Signin It used to work back then but now I have an error message. Error message picture Info: Version: 1.44.2 (user setup) Commit:…
0
votes
1 answer

How to test a successful release prior to allowing PR to complete?

I know that build validation policy can be set on branch and it will trigger a PR build that will ensure that it succeeds. Is there any way to test a successful release prior to allowing PR to complete? There is the following status policy option -…
variable
  • 8,262
  • 9
  • 95
  • 215