NixOS Jenkins is a configuration to setup a GNU/Linux system with Jenkins continuous integration service.
Almost everything is defined as Nix expressions, including Jenkins JCASC plugin.
The latest version of Nix package manager.
nix build .#nixosConfigurations.vm.config.system.build.vm -L
You need to forward the SSH port, 22 by default, to the host. You can do this with:
result/bin/run-vmhost-vm -nic user,model=virtio-net-pci,hostfwd=tcp::10022-:22
To connect to the VM you can run
ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 10022 -l vm localhost