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-checkerjenkins user):$ kvm-okINFO: /dev/kvm existsKVM acceleration can be usedjenkins to this group:addgroup kvmusermod -a -G kvm jenkins/dev/kvm:chgrp kvm /dev/kvm$ sudo nano /etc/udev/rules.d/60-qemu-kvm.rulesKERNEL=="kvm", GROUP="kvm", MODE="0660"