[Pharo-project] How Cog can be build in Jenkis if it has a popup?
Hi. Since a lot of time, trying to load Cog will bark becaue of a missing class. If you run headless, then the image is frozen there waiting user to click "proceed". So, what black magic does Jenkis to build such images? thanks -- Mariano http://marianopeck.wordpress.com
On 30 October 2011 17:53, Mariano Martinez Peck <marianopeck@gmail.com> wrote:
So, what black magic does Jenkis to build such images?
You need to change the UIManager to the non-interactive one, see http://code.google.com/p/pharo/issues/detail?id=4936 -- Damien Pollet type less, do more [ | ] http://people.untyped.org/damien.pollet
since jenkins jobs running headless, the image using different UI manager, where all popups are just ignored (like notifications and warnings) or lead to error and leaving to OS. there is no magic On 30 October 2011 19:00, Damien Pollet <damien.pollet@gmail.com> wrote:
On 30 October 2011 17:53, Mariano Martinez Peck <marianopeck@gmail.com> wrote:
So, what black magic does Jenkis to build such images?
You need to change the UIManager to the non-interactive one, see http://code.google.com/p/pharo/issues/detail?id=4936
-- Damien Pollet type less, do more [ | ] http://people.untyped.org/damien.pollet
-- Best regards, Igor Stasenko.
On Sun, Oct 30, 2011 at 6:59 PM, Igor Stasenko <siguctua@gmail.com> wrote:
since jenkins jobs running headless, the image using different UI manager, where all popups are just ignored (like notifications and warnings) or lead to error and leaving to OS. there is no magic
Well, the magic was indeed that it needs to evaluate UIManager default nonInteractiveManager. which I didn't know ;)
On 30 October 2011 19:00, Damien Pollet <damien.pollet@gmail.com> wrote:
On 30 October 2011 17:53, Mariano Martinez Peck <marianopeck@gmail.com> wrote:
So, what black magic does Jenkis to build such images?
You need to change the UIManager to the non-interactive one, see http://code.google.com/p/pharo/issues/detail?id=4936
-- Damien Pollet type less, do more [ | ] http://people.untyped.org/damien.pollet
-- Best regards, Igor Stasenko.
-- Mariano http://marianopeck.wordpress.com
On Sun, Oct 30, 2011 at 7:03 PM, Mariano Martinez Peck < marianopeck@gmail.com> wrote:
On Sun, Oct 30, 2011 at 6:59 PM, Igor Stasenko <siguctua@gmail.com> wrote:
since jenkins jobs running headless, the image using different UI manager, where all popups are just ignored (like notifications and warnings) or lead to error and leaving to OS. there is no magic
Well, the magic was indeed that it needs to evaluate UIManager default nonInteractiveManager. which I didn't know ;)
Well, now even evaluating UIManager default nonInteractiveManager. I get in Jenkis: Started by user anonymous [workspace] $ /bin/sh -xe /var/folders/Y-/Y-CM+HW9GUa9u5hYpmU2SU+++Tc/-Tmp-/hudson8977465134727325418.sh + build.sh -i Pharo-1.3 -o cogVM -s cogVM build.sh: Execution aborted (/Users/mariano/Pharo/VM/CogMT5.app/Contents/MacOS/Croquet) *** Warning: Warning: This package depends on the following classes: AbstractLauncher You must resolve these dependencies before you will be able to load these definitions: CommandLineLauncher CommandLineLauncher classSide>>activate CommandLineLauncher classSide>>extractParameters CommandLineLauncher classSide>>initialize CommandLineLauncher>>parameters: CommandLineLauncher>>startUp /Users/mariano/PhD/Jenkis/builder/build.sh: line 173: 79554 Killed exec "$PHARO_VM" $PHARO_PARAM "$OUTPUT_IMAGE" "$OUTPUT_SCRIPT" Build step 'Execute shell' marked build as failure Archiving artifacts Finished: FAILURE so...there must be something else...
On 30 October 2011 19:00, Damien Pollet <damien.pollet@gmail.com> wrote:
On 30 October 2011 17:53, Mariano Martinez Peck <marianopeck@gmail.com> wrote:
So, what black magic does Jenkis to build such images?
You need to change the UIManager to the non-interactive one, see http://code.google.com/p/pharo/issues/detail?id=4936
-- Damien Pollet type less, do more [ | ] http://people.untyped.org/damien.pollet
-- Best regards, Igor Stasenko.
-- Mariano http://marianopeck.wordpress.com
-- Mariano http://marianopeck.wordpress.com
participants (3)
-
Damien Pollet -
Igor Stasenko -
Mariano Martinez Peck