I have an Azure Pipeline which I invoke it using azure rest API
https://dev.azure.com/xxx/xxx_connection/_apis/pipelines/2/runs
All working great, I'm sending the source files from install Self Hosted Linux Agent to azure and getting them back compiled into the Self Hosted Linux Agent.
My question is how can I know when the pipeline is done in the server that is hosting the Self Hosted Linux Agent?
Is there any callback? or API I can invoke and query the if the pipeline job is done?
or just doing while loop on the directory where I accepting to get the compiled products?
last option I want to avoid.