jenkins ALL= \ NOPASSWD: /usr/sbin/debootstrap *, \ /usr/bin/tee /chroots/*, \ /usr/bin/tee -a /chroots/*, \ /usr/bin/tee /etc/schroot/chroot.d/jenkins*, \ /bin/chmod +x /chroots/*, \ /usr/sbin/chroot /chroots/*, \ /usr/sbin/chroot /media/*, \ /bin/ls -la /media/*, \ /bin/rm -rf --one-file-system /chroots/*, \ /bin/rm -rf --one-file-system /schroots/*, \ /bin/mv /chroots/* /schroots/*, \ /bin/mv /schroots/* /schroots/*, \ /bin/umount -l /chroots/*, \ /bin/mount -o loop*, \ /bin/mount --bind *, \ /usr/bin/du *, \ /bin/kill *, \ /usr/bin/file *, \ /bin/dd if=/dev/zero of=/dev/jenkins*, \ /usr/bin/dcmd rm *.changes, \ /usr/bin/dcmd rm *.dsc, \ /usr/bin/apt-get update # keep these environment variables Defaults env_keep += "http_proxy", env_reset