Nov. 16, 2012
10:14 p.m.
I was wondering how the addition of options is managed. I mean how we know that we got what we really should have as option on the command line? Stef On Nov 16, 2012, at 7:12 PM, Marcus Denker wrote:
There is now a command line option to print the image version.
To test it:
wget --quiet -qO - http://pharo.gforge.inria.fr/ci/ciPharo20NBCog.sh | bash
make sure it's the latest: ./vm.sh Pharo.image update
now print version: ./vm.sh Pharo.image printVersion
==> should print "[version] 2.0 #20402"
This can be used in Jenkins with the "Description Setter" Plugin. Configure it like this:
Regular expression: \[version\] (.*) Description: \1
Marcus
-- Marcus Denker -- http://marcusdenker.de