my scenario is like this
- I have Jenkins server which triggers build flow ( this can't be changed )
- the source code is checkout out from 3 repos to the Jenkins server
- the files get manipulated and changed on the Jenkins server
- I installed azure self-hosted Linux agent in the Jenkins server.
And it is online as I see it on the azure DevOps dashboard.
in the Azure DevOps, i defined a project that checkouts simple azure-pipelines.yml.
I want to copy files from the Jenkins server to the azure hosted agent and build there the files. then after the build is done I want to copy back the files to the Jenkins server
my missing part is how do i start the steps in the pipeline in the hosted azure that will listen to the self-hosted Linux server agent that it needs to copy the files?
also how i do trigger the self-hosted server to trigger pipeline steps in the hosted server.