In this situation, devs will drop their code off in a central fileshare when it's ready to enter the pipeline.
I'm currently attempting to work with the Azure Devops API for "Pull Request - Create" to create and complete a pull request from a UNC Path to an empty Azure Devops GIT repo.
I am struggling with how to setup the body to accomplish this.
The path that I am trying to pull from would be:
\\10.10.10.10\fileshare\code\application
.
The body that I am currently trying to create looks like:
{
"remoteUrl": "file://\10.10.10.10\fileshare\code\application",
"sourceRefName": "origin/master",
"targetRefName": "master",
"title": "Automatic Update",
"description": "Automatically updating the repo",
"status": "completed"
}
Does anyone know if this is even possible? If so, I would greatly appreciate any nudges in the right direction.
remoteUrl
is the git repo url. in fact you not need it in the body because in the url you have the repo id. so how the file share is connected to theremoteUrl
? – Shayki Abramczyk