[Anthill-pro] PostProcessScript is ignored
Uldis Karlovs-Karlovskis
uldisk at ctco.lv
Fri Aug 17 08:30:20 CDT 2007
The interesting thing is that post processing script is skipped only on step
Evaluate script. I`ve tried default one and my own too.
As good looking solution I`ve found to create Job pre-condition script which
gets Workflow property and then runs or not the job which can call
Non-Originating workflow.
I think it would be nice if also for job steps we had pre-condition scripts,
not only post-processing. What I don`t like very much in AntHill is this
complex switching through steps if I want complex argument based BuildLifes.
Uldis, C. T. Co
-----Original Message-----
From: anthill-pro-bounces at lists.urbancode.com
[mailto:anthill-pro-bounces at lists.urbancode.com] On Behalf Of Steve Boone
Sent: piektdiena, 2007. gada 17. augustā 16:22
To: AnthillPro user and support list.
Subject: Re: [Anthill-pro] PostProcessScript is ignored
Uldis, Anthill is very capable of handling this situation.
What post processing script are you using? Did you write your own?
Regards,
Steve Boone
On 8/16/07, Uldis Karlovs-Karlovskis <uldisk at ctco.lv> wrote:
Hello again!
I want to create job step Evaluate Script which takes Workflow property and
do later some things. I see that script is working fine. I suppose that
script must return Exitcode so I`m returning 0, 1 or 2. No problems till
now.
After script I want to take it`s output and set Step Status. The best way to
do this is PostProcessScript. But I can`t use it because it seems everytime
skipped. I even used "return Fail.always()" on script but step anyway is set
as Success. Why post processing script on Evaluate Script step is ignored?
My solution is to crash all script with referencing unexisting object if I
want the step to be failed but it`s just not right.
Uldis, C. T. Co
_______________________________________________
Anthill-pro mailing list
Anthill-pro at lists.urbancode.com
http://lists.urbancode.com/mailman/listinfo/anthill-pro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill-pro/attachments/20070817/a7ca1f3c/attachment.htm
More information about the Anthill-pro
mailing list