Re: Pipeline generic for two Jenkins with two different agent types

2020-02-16 Thread Georges Moulinier
Thanks Ivan for your answer. Do you think I could "hide" this syntax " kubernetes { ..." or this "docker { ..." behind a label ? A label represent a slave declared in Jenkins. But in my case I did'nt declare slaves directly. For one of my Jenkins master I just declared a Kubernetes cluster.

Re: Deletion of a GitHub Repository in a GitHub Organization

2020-02-16 Thread Georges Moulinier
Hi, Maybe you have to configure the Orphaned Item Strategy in the Jenkins project. By default, Jenkins keeps repo or branch even if they are "orphaned" (no more link with git repo). You can add the value 0 to "Days to keep old items" and to "Max # of old items to keep". Le dimanche 16 févri

Re: Pipeline generic for two Jenkins with two different agent types

2020-02-14 Thread Georges Moulinier
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 m

Pipeline generic for two Jenkins with two different agent types

2020-02-06 Thread Georges Moulinier
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