On Jan 19, 6:50 am, riccardo wrote:
> David Antliff wrote:
> > On Jan 17, 4:52 pm, David Antliff wrote:
> >> I thought it might be due to a missing environment variable, however
> >> I've checked through on both machines and I haven't been able to
> >> locate anything missing that seems relevant.
>
> > It has occurred to me that this may be caused by the program being
> > invoked (Synplify Pro) not being a true command-line program. Perhaps
> > instead it is trying to perform some GUI operations, and I'm not sure
> > how this would work when invoked via SSH. When I tried to run the tool
> > directly (which would normally bring up a project GUI), it gives me
> > the same error message.
>
> > Perhaps then this is a Cygwin issue rather than a Hudson issue? Any
> > comments please?
>
> I noticed a similar problem when running a Hudson job on a Windows-Slave.
> Instead of SSH Hudson's Windows service was used to execute the build on the
> slave.
> The build failed because target "end" in ant.bat wasn't found.
> If I called ant.bat manually on the slave this error didn't occur.
>
> I fixed the problem by running the Windows service for Hudson on the slave
> with a local
> account instead of "local service".
>
> So, perhaps you should check if some Windows service is involved in your
> situation and
> if it runs as local service and change it (e.g. using the account the manual
> build works for).
Hi riccardo, thank you for your reply.
I'm currently investigating this, and I've tried running under local
account as well as "local system" (or service). I haven't had much
luck but I've been using ProcessMonitor to work out where the
'working' and 'non-working' cases diverge. I haven't found a solution
yet but it looks like it's probably a permissions problem.
-- David.