Does anyone have an idea ?

Le jeudi 6 février 2020 14:00:50 UTC+1, Georges Moulinier a écrit :
>
> Hi !
>
>  
>
> I want to know how can I use different agent type in my pipeline in 
> function of the Jenkins master executing it ?
>
>  
>
> There are two Jenkins master target :
>
> One is using a kubernetes cluster for providing agent containers : agent { 
> kubernetes { ...
>
> One is using a docker agent : agent { docker ...
>
>  
>
> 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 ?
>
>  
>
> Thanks.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/6d6acb4e-7816-4404-b767-b12910fe3f14%40googlegroups.com.

Reply via email to