'How to check running job on self-hosted Azure DevOps Agent on Linux via bash
I have installed the Azure DevOps agent on my Linux Ubuntu (Ubuntu 20.04.3 LTS) machine - https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/v2-linux?view=azure-devops.
Now I want to write a script, which will check if there is some job (pipeline) running on an agent.
Is it possible to somehow check whether there is a job running on the agent via bash on Linux, where is the agent installed? Without API calls to Azure DevOps.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
