435
questions
0
votes
0
answers
28
views
How to push changes from or Azure Devops to another company?
I have a repository on our Azure DevOps and using Visual Studio 2022 I am able to create branches and do all other tasks before it is merged with the main branch.
I would like to push our main branch ...
-1
votes
2
answers
78
views
How can I roll back an outgoing commit that has not been pushed up to devops?
I've created a branch and made some changes and attempted to commit and push. The commit was created, but the push failed because I hadn't selected the branch I should have been developing on and was ...
0
votes
1
answer
48
views
Azure DevOps Repos Limit or Block PR by Number of Commits
I am working in Azure DevOps and have junior developers creating PRs with massive code changes and over 100 commits. I have looked at the default policies in Azure DevOps Repos, but did not see ...
0
votes
4
answers
88
views
How to prevent creating a new branch of a certain branch
We have these branches in Azure DevOps:
Master <--> development
When we want to do changes we have to make a new branch of the development branch.
Then do our changes, push it for review to the ...
0
votes
1
answer
58
views
Permission scope in azure repos api usage in azure devops pipeline
I am using azure api call to list down all repositories under one organization: https://learn.microsoft.com/en-us/rest/api/azure/devops/git/repositories/list?view=azure-devops-rest-7.1&tabs=HTTP
...
0
votes
1
answer
87
views
How to deny force push to main only, but still allow direct (non-force) push in Azure DevOps git repos
Question
Is there a way to deny the force push permission by default, only on the main branch, for any existing and new repos within a project, while still allowing it for all other branches?
...
0
votes
1
answer
35
views
Ignore Pull Request Policy - on specific file/folders - Azure DevOps Services
I am failing to set a rule to ignore Pull Request Policy on specific path using 'Path Filters'.
Using one of the 2 options below both did not work.
'Path Filter' = '/BIS/*; /*; !/26740.yml'
Or
'Path ...
0
votes
1
answer
41
views
Link Azure Repo pull request retrospectively to work item
I've created a couple of small pull requests in Azure Repos. However, I forgot to link them to the relevant work items, so the pull requests have failed their checks. It looks like it should be easy ...
0
votes
1
answer
47
views
Azure DevOps Services - Repository Count Limit?
My create new repository button in Azure DevOps Services has vanished.
Is there a limit to how many repos we can create in Azure DevOps Services?
Is there some other explanation as to why I cannot ...
1
vote
1
answer
76
views
Azure DevOps Branch policy type "Require a merge strategy" is not selecting the checkbox under "Limit merge types"
I am trying to update branch policy of a branch in Azure DevOps repository. I am trying to do it using Rest API calls following documentation from here.
When I run this from Postman, the request ...
0
votes
1
answer
107
views
Exporting complete Solutions from Power Platform to Repos on AzureDevOps with Pipelines
The Tasks in the pipeline
The compare function when exporting solution packages with pipeline
The compare function when exporting only the app (with personal access tokens) instead of the full ...
1
vote
1
answer
80
views
minimum_required_approvers default and choosable value
I have a short question. In our Terraform code, we have a azuredevops_check_approval resource. The optionnals settings minimum_required_approvers and requester_can_approve are not set so the default ...
1
vote
1
answer
93
views
Azure Devops, How to extract latest tag present in a repository using Rest APIs?
I'm trying to fetch latest tag of a Azure git repo using Rest API.
So first fetched all tags of a repo using rest api.
But this json returned the tags in no fixed order i.e sometimes latest tag is at ...
-1
votes
1
answer
71
views
Custom rules conditions in a process for assigned user
i'm trying to configure Azure Devops Server in a local installation and now i'm trying to configure permissions but i don't find how to do what i need.
I need to configure that an assigned user to a ...
0
votes
2
answers
49
views
ADO - Granular Permission for Users on Team
The company I work for setup an ADO team that includes all developers regardless of seniority. However, we want to limit contributing to our master branch to just the project lead and the architects.
...
0
votes
1
answer
76
views
How to assign organization-level permissions to create repositories across all projects in organization in Azure DevOps?
I am creating automation for Azure DevOps. I want to follow the principle of least privilege. I only need to grant permissions to create repositories across all projects in the organization. I know ...
-2
votes
1
answer
62
views
Getting error "-bash: syntax error near unexpected token `(' " when cloning git repository [duplicate]
I am getting an error in my debian terminal when cloning a git repository.
Here is the command:
git clone [email protected]:v3/organization-example/RMC701%20(CBLPE00520)/Terraform-CB-connection-...
0
votes
1
answer
64
views
In Azure devops, how can I create a pull request from the command line that includes all work items from the source branch
In our project, we move from one stage of the application (beta/preprod/release) to another by creating a pull request between the source branch into the target one (e.g., "release/xxx" to &...
0
votes
2
answers
449
views
Pull requests using the Azure DevOps plugin in JetBrains Rider
I have installed the Azure DevOps plugin for Rider on macOS, and I am trying to create a pull request from my local branch into the remote master branch up on DevOps. I was able to authenticate and ...
0
votes
0
answers
109
views
Error when cloning the remote azure repository: Unable to start process. Unable to associate job object with the process during process creation
I am getting the following error in Visual Studio 2022 (17.10.2) when I try to clone a project from an Azure repository.
The operating system is Windows 10 Enterprise, and ZScaler is also installed.
...
0
votes
2
answers
233
views
Azure app-service deployment center - what does the "Disconnect" do and how to "reconnect"?
I have an app-service that is hosting a FastAPI app in a container registry. The image below is the Settings page of the app-service's Deployment Center in Azure.
I clicked on it to see all the ...
1
vote
1
answer
361
views
How to edit title of a pull request which is already merged in Azure repos?
I have a pull request, which is already marked as "Completed" but I would like to edit the title of that pull request. I cannot find the option to edit it.
I have already searched on ...
0
votes
1
answer
178
views
How To Delete a Folder in DevOps
I'm trying to delete a folder from the main branch in Azure DevOps. The folder does not appear to be tracked by Git as I do not see it in folder view when I checkout the branch.
However, I try to ...
0
votes
1
answer
78
views
Agent issue to run java pipeline
The above is the error description I'm getting not able to fetch the agent, though agent is online and available
0
votes
1
answer
164
views
Azure PR build won't queue in pipeline
We are running a PR build on our repo, prior to merge. Its triggered by any merge to the main branch. This is configured in the Repo Policies tab. The repo is structured so the solution and project ...
0
votes
0
answers
42
views
How do we change the default location of pom.xml from the root directory to some other directory in an eclipse maven project?
I am working on a Maven project in which the 'pom.xml' resides in its default location (root directory of the project). This 'pom.xml' needs to be moved into another directory so that I can push it ...
-1
votes
3
answers
124
views
How can I undo two past commits keeping all the subsequent changes using git?
I have a Visual Studio solution that includes 12 projects. The code is hosted on Azure DevOps using git. I'll admit I'm not an expert of git.
I've created some branches from the "master" ...
0
votes
1
answer
152
views
Azure Pipeline is not running simple angular build in my environment
Trying to run pipeline in my environment .
enter image description here
The below is the error i get when i run simple angular application in my environment.
0
votes
1
answer
72
views
Azure Devops -Branches
How to set bypass policy permissions? Why do I still see policy failures in the pull request status?
In Azure Devops if we have created 3 or more branches like Dev, qa and prod and if we did set up ...
0
votes
1
answer
457
views
Referencing templates using a variable from a different repo in the same Azure DevOps project
I've built a pipeline that makes use of a couple of repositories within my project.
All of these are declared in the resources block and are referenced by tag using:
ref: refs/tags/$(variableName)
and ...
1
vote
4
answers
433
views
Azure devops search pull requests by source branch
In Azure devops, is there a way to filter pull requests by source branch. It's possible to filter by target branch, but source branch doesn't appear to be available as an option. How do I go about ...
0
votes
1
answer
482
views
How to make a stage in Azure Pipelines only run when the pull request is merged and not created?
I have an Azure pipeline and I want it to run the first stage when the pull request is created and the second stage when the pull request is completed and merged.
I'm fine with it also running the ...
-1
votes
1
answer
125
views
Is There Anyway To Retrieve The Label/Tag of a PR After Merged to Main?
I am looking to implement a automated SemVer process.
Lets say I have a PR open which has the label/tag of major, is there anyway to retrieve this tag AFTER it has been merged to main?
When the PR ...
0
votes
1
answer
113
views
Unable to copy and apply a branch policy from one repo to another repo in azure devops
Not able to copy the azure branch policy from one repo to another repo using the below PowerShell script
PowerShell script
[CmdletBinding()]
param([Parameter(Mandatory=$true)][string] $AzureDevOpsPAT,...
0
votes
1
answer
72
views
Unlink commits/Files during creating a Pull request from One branch to other
There's a challenge!
I'm working on two projects (Project1 and Project2) within the same code repository (main branch). I've made changes to both projects and linked separate work items to each set of ...
0
votes
0
answers
56
views
Force Azure DevOps Pull Request update after Manually Update SonarQube issue as Won't Fix
I've manually closed a SonarQube issue as Resolved (Won't Fix) and now the Quality Gate in SonarQube is showing as Passed. However, the pull request in Azure DevOps is still showing the SonarQube ...
-1
votes
1
answer
87
views
ignore folder when pull request to master
We are using Azure Repository via WebBrowser. We have TEST branch:
TEST
Folder1
|- folder0001
|- folder0002
FolderA
|- folderAAAA
|- folderBBBB
and we would like always to ignore Folder1 when ...
0
votes
1
answer
437
views
Is it possible to acquire an access token for app service with a system-assigned managed identity?
I want to access Azure Repos from my app service with a system-assigned managed identity.
According to this post, it is possible to access Azure Repos git with an access token but I can't find how to ...
0
votes
2
answers
111
views
Unable to view the Complete and set auto complete options in Azure repo Pull request, even though there is no conflicts
Unable to view the Complete and set auto complete options in Azure repo Pull request, even though there is no conflicts
I can see only mark as draft and abadon
I need to select the Complete and set ...
-1
votes
2
answers
606
views
How to Retrieve a List of Azure DevOps Repositories Sharing Similar Branch Policies on their Develop Branch?
I'm working with Azure DevOps and have multiple repositories with various branches, each having specific branch policies. Specifically, I want to identify repositories that share the same branch ...
0
votes
1
answer
261
views
Want to push python file from Azure Repo to Databricks Workspace Using CICD
I want to push the Python file from Azure Repo to Databricks Workspace using Azure DevOps (CICD), but when I am trying to push the same into the Databricks workspace it is converting the same python ...
0
votes
1
answer
63
views
Can't push to new branch on azure using git: The file pushed differs in case
Background:
I am working on a new branch that I tried to commit, and had an error message I did not see before:
...
error: remote unpack failed: error The tree object ...
0
votes
0
answers
51
views
In schema compare, some files erroneously appear as missing in the local DB compared to Azure SQL Server DB. Only a few files are affected, not all
In the schema comparison, it shows a list of files that do not exist in the local database when compared to the Azure SQL Server database. In this list, a few files are already present in the local ...
0
votes
1
answer
144
views
How to lock a file in Azure Repository
We have a requirement to lock a particular file in azure repos and not allow anyone to modify the file.
I have seen a similar thread and talks about locking the branch and adding branch policy - Can ...
0
votes
2
answers
145
views
Release pipeline powershell task to use a file in azure repository for temp download of file (how to story)
This should be a stupid simple thing to do...
Simply need to use a powershell task to download a .js file from an azure repository using the powershell task tell the azure agent server to run a ...
1
vote
2
answers
180
views
Gitlab flow Long lived environment branches in Mono Repo keeps growing commit log on Pull Request in Azure repos
We have moved from IBM RTC to Git recently and facing a problem with branching strategy. We use to have three streams in RTC Jazz, Development flows to Staging & Staging flows in Production. While ...
4
votes
3
answers
1k
views
Cross Search in all repositories and branches in Azure Devops Repos
Azure has very nice function to facilitate cross search through all repositories:
I have noticed that after I did search for a keyword which was in one of the branches it was not found. How can I ...
0
votes
1
answer
115
views
How to Commit files from edited version of pom.xml file into azure repos
I am trying to implement versioning strategy of our apps on pom.xml via CI/CD.
I have followed the solution to this question and applied powershell script task on Azure DevOps pipeline: How to update ...
2
votes
2
answers
322
views
Find commits filtered by comment in Azure Devops Repos
As we know, every commit in a repository has a comment:
Is there a way in Azure Repos to find all commits filtering by comments? For instance:
Find all commits with comments containing keyword '...
0
votes
0
answers
91
views
How to remediate vmImage Error in YAML Pipeline
I am trying to set up my first pipeline in Azure DevOps. I set up a YAML pipeline which I want to run anytime someone commits a change to any branch; the yml file I wrote will run a python script ...