[Pharo-project] PHARO_VM on Jenkins
Hi, I got this error on Pharo Kernel 2.0 Jenkins build: PHARO_VM environment variable is not set. Did somebody some VM related changes on Jenkins? -- Pavel
On 10 May 2012 14:22, Pavel Krivanek <pavel.krivanek@gmail.com> wrote:
Hi,
I got this error on Pharo Kernel 2.0 Jenkins build: PHARO_VM environment variable is not set.
Did somebody some VM related changes on Jenkins?
i dont. Probably Christophe. perhaps he removed/changed it in job settings. you can set the environment variables per job.
-- Pavel
-- Best regards, Igor Stasenko.
Hi Pavel, Yes, I did some experiments to use the latest compiled (and successfully tested) VM for Jenkins jobs. I choose the following option to avoid too much additional configuration to jenkins jobs : The build.sh script is used in most of jobs defined in jenkins. This script use the PHARO_VM environment variable to get the VM path. What I did is that is the variable is not defined, it calls a script named fetchLatestVM.sh to download the appropriate VM (according to OS @ Architecture)in the job workspace. Then, the PHARO_VM is set with the downloaded VM. I was not aware of other jobs that don't use the build.sh script. I will update the build-kernel.sh script to have the same behavior as build.sh. I will also update the job. Thank for your feedback. Regards, Christophe. Le 10 mai 2012 à 14:22, Pavel Krivanek a écrit :
Hi,
I got this error on Pharo Kernel 2.0 Jenkins build: PHARO_VM environment variable is not set.
Did somebody some VM related changes on Jenkins?
-- Pavel
participants (3)
-
Christophe Demarey -
Igor Stasenko -
Pavel Krivanek