-
Notifications
You must be signed in to change notification settings - Fork 867
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question]: self hosted agents #4933
Comments
Hi @rrichardsisat thank you for your question!
Environments represent a collection of resources such as namespaces within Kubernetes clusters, Azure Web Apps, virtual machines, databases, which represent some type of physical environment - "Dev", "Stage", "Prod", etc.. Please check this documentation for more information about the environments - https://learn.microsoft.com/en-us/azure/devops/pipelines/process/environments?view=azure-devops |
@vmapetr thank you for the information: however there seems to be an issue with the agent. Allow me to explain:
I noticed this issue when i deployed to an environment i created separately then deployed to this environment. I received an error "No such file" in azagent/_work/1/s. I manually placed code in this folder as a test and it worked fine. Why is the agent not cloning the codebase here automatically? thanks for any help. I wanted to make sure its not because we are using an older version (2020) of devops server. In the folder azagent/_work/1/s which was created from the environments page |
And i forgot to mention at first i was using version 2 of the agent but from my latest test i am using version 3 for the environment. |
Here is a post that is very close to my issue but i did not see any errors in the logs: https://stackoverflow.com/questions/76718579/azure-devops-pipeline-with-self-hosted-agent-fails-at-git-checkout-step-while-sa I fixed this by cloning the repo elsewhere and copying the path over to the _work/1/s folder but i dont think this will hold. |
Also i manually setup a pipeline agent AND an environment agent. Doesnt seem like this is how it should be. However the pipeline works as expected. I want to correct this. |
Describe your question
I am working on a project that uses Devops Server (version 2020). I keep having an issue where a self-hosted agent doesnt appear to be configured or fails to pull the code from an azure repo. Are there are detailed documents that explain the configuration or any setup steps? Also what is the difference between agents for the pipeline and the environments?
Versions
Azure devops server 2020
Environment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
Azure DevOps Server (Please specify exact version in the textbox below)
Operation system
Linux
Version controll system
Azure Repos
Azure DevOps Server Version (if applicable)
2020
The text was updated successfully, but these errors were encountered: