Re: Chroot: base image as matrix axis

2018-09-16 Thread Baptiste Mathus
You lost at the second sentence. Why are you trying to chroot?

Having agents of these different Linux flavors, or using docker images
(seems easier if you don't need to actually test a specific kernel or so).

Cheers

Le jeu. 13 sept. 2018 à 14:51, Simon Richter  a
écrit :

> Hi,
>
> I'd like to build a project against different Linux distributions.
>
> Using the chroot plugin, I can easily set up a chroot for each, but I
> need to specify the name of the base image in the project config.
>
> Can I somehow select the chroot base image by a label, so a matrix build
> with "debian-stretch", "debian-buster", "debian-sid", "ubuntu-xenial",
> ... would use the image configured with the appropriate label?
>
>Simon
>
> --
> 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/d64d1cab-3025-1742-1fb9-07751bf4638f%40hogyros.de
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CANWgJS5VvSSvEF-BTT8FB1yx6LEUynBJwEfSKZ1af9Zfj%2B8D4w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Chroot: base image as matrix axis

2018-09-13 Thread Simon Richter
Hi,

I'd like to build a project against different Linux distributions.

Using the chroot plugin, I can easily set up a chroot for each, but I
need to specify the name of the base image in the project config.

Can I somehow select the chroot base image by a label, so a matrix build
with "debian-stretch", "debian-buster", "debian-sid", "ubuntu-xenial",
... would use the image configured with the appropriate label?

   Simon

-- 
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/d64d1cab-3025-1742-1fb9-07751bf4638f%40hogyros.de.
For more options, visit https://groups.google.com/d/optout.