Hi Kris,

Yes , two jenkins instances
On Thu, 10 Aug 2023 at 9:54 PM, 'Björn Pedersen' via Jenkins Users <
jenkinsci-users@googlegroups.com> wrote:

>
>
> ashok...@gmail.com schrieb am Donnerstag, 10. August 2023 um 03:54:11
> UTC+2:
>
> Hi All,
>
> How to configure jenkinsfile if one job is in one jenkins instance and
> another job is in another jenkins instance?
>
>
> I you really mean 2 jenkins instances (not different agents):
>
> * don't use a single Jenkinsfile, instead configure the jobs (at least on
> one instance) to  use another name (e.g. jenkinsfile.host).
> * or  switch execution based on the HUDSON_URL variable (this gives the
> main jenkins URL), although this most likely will make the jenkinsfile
> quite unreadable.
>
>
> --
> 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/7c6eee8d-3526-41cf-a758-f0f32523dd8an%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/7c6eee8d-3526-41cf-a758-f0f32523dd8an%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAKRLcHhxb4uK2uAwkuUKqPG7N%3DpBzsyHkg3nLEMOFtQxJMZfxQ%40mail.gmail.com.

Reply via email to