I have installed Jenkins and configured a build job with emulator running during build. But when I execute the job, I get error message that jenkins user doesn\'t have permi
On my CI (gitlab) this was missing on Ubuntu
usermod -a -G kvm gitlab-runner
or with Jenkins
usermod -a -G kvm jenkins
I have managed to fix the problem.
sudo apt install qemu-kvm cpu-checker
jenkins
user):$ kvm-ok
INFO: /dev/kvm exists
KVM acceleration can be used
jenkins
to this group:addgroup kvm
usermod -a -G kvm jenkins
/dev/kvm
:chgrp kvm /dev/kvm
$ sudo nano /etc/udev/rules.d/60-qemu-kvm.rules
KERNEL=="kvm", GROUP="kvm", MODE="0660"