Could you do a job that takes a Node parameter and then a job with 2
stages, one for each node that just calls the first job?

On Sun, Oct 18, 2020 at 11:24 Roland Asmann <roland.asm...@gmail.com> wrote:

> Hey everybody,
>
> I have this job, written as a declarative pipeline, the now needs to be
> run on 2 nodes instead of just 1. Before, I would use the Matrix-Job for
> that, but I am not quite sure how to do this in my pipeline...
> I searched around a bit and found some example on how to do it with a
> scripted pipeline, but I would prefer to stick to the declarative format --
> if possible. The reason for that is that my team is just learning about
> pipelines and have just about mastered declarative. I don't want to throw
> them in the deep end for scripted yet.
>
> Is this possible in declarative? If so, tips would be helpful.
> If not, at least 1 reply telling me this would also be helpful! ;-)
>
> Thanks,
> Roland
>
> --
> 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/8ebffe59-9ac7-489a-9bf1-388d77ea7289n%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/8ebffe59-9ac7-489a-9bf1-388d77ea7289n%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/CADgiF9Lz-q4NRxChqOoy7L4JhkrXxS5q8kqoP-i5WJ0_v%3Dp5Nw%40mail.gmail.com.

Reply via email to