My application builds fine locally within the repository, but when I’m trying to build it with Jenkins I run into some problems:
...
Launching a VM.
Sorry, home directories outside of /home are not currently supported.
See https://forum.snapcraft.io/t/11209 for details.
An error occurred with the instance when trying to launch with 'multipass': returned exit code 1.
Ensure that 'multipass' is setup correctly and try again.
...
As far I see there are two different issues. One with home dirs and one with this multipass-thing. How do I “setup multipass correctly” ? I did run snapcraft
in the repository and it installed some stuff, but I guess I should do that again in every repository clone?
My snapcraft.yaml is here: https://github.com/juzzlin/Heimer/blob/master/snapcraft.yaml