I’m creating a jenkins docker image that contains platformio intallation. By default the installation is run as user jenkins and this will install platformio in /var/jenkins_home/.platformio.
But when running a jenkins container the /var/jenkins_home folder is usually bound to an external volume which will of course hide the original folder in the image.
Is it possible to have get-platformio.py install platformio in a configurable folder?
I’m also interesting to specify install directory but on Windows10.
Especially because i’m using esp-idf which doesn’t accept spaces in build names.
I have a space in my windows user directory and cannot change it as i’m not an administrator.
I have also tried the core dir option in my platformio.ini file of the corresponding project but pio is still launch from “c:\users<username with space>.platformio\penv\scripts\python.exe”
I tried to manually move the whole directory in an another place and then change my PATH settings to point on the new folder but the command line python get-platformio.py check core doesn’t detect anymore platformio.
It seems that the install folder cannot be changed.