I want to know how can I use different agent type in my pipeline in function of the Jenkins master executing it ?
We have two Jenkins master target :
I am looking for a solution to make a pipeline generic which can be executed on both.
The idea is not to have stage duplications on the pipeline.
Is it possible ?