Thank you so much, I really don´t know how am I using the CC .Net, what I do is check on my computer with the Dashboard the results of the projects, but I´m working in the server that has the CC .Net and I ´m working from there the config file.
I´m not sending any messages or MsgBox, for example for the little one I´m trying it just has: Dim variable Set variable = variable + 1 that´s it. The parameters that are path all of them are taken from the server where the CC .Net is running. On 16 dic, 09:35, "Ruben Willems" <[email protected]> wrote: > Hi > > no, I mean run ccnet as a console app, do not use the ccnet-service. > > also, if you get dialogs, prompting for user input, or a messagebox, saying > something like "ok" > this will not work. > > a build script may not rely on user action. > > with kind regards > Ruben Willems > > > > On Tue, Dec 16, 2008 at 4:25 PM, Hugo <[email protected]> wrote: > > > Thanks for answer so fast. I really appreciate it. Well, it runs well > > if I do it from Console, to run it in the Console I use this: > > > WScript.exe "Create_DB.vbs" /databasename:"" /path:"" /scriptpath:"" / > > server:"" /user:"" /password:"" > > > and it works, but when I try to do it from the CC .Net it just doesn > > ´t, it does not do anything because in the first VBScript I do a file > > to see the results and this file is empty. > > > I was thinking about that, running as a console and not as a service. I > > ´m brand new using CC .Net and I´m getting used to it. When you say to > > run it as a console, do you mean: > > > <exec> > > <executable>cmd.exe</executable> > > <buildArgs>WScript.exe "Create_DB.vbs" /databasename:"" /path:"" / > > scriptpath:"" /server:"" /user:"" /password:""</buildArgs> > > </exec> > > > On 16 dic, 09:16, "Ruben Willems" <[email protected]> wrote: > > > Hi > > > > if you run this script from the command line, does it work than? > > > if so, set ccnet to run as a console, not as service. > > > > if this also works, check the user for the ccnet service, > > > maybe you're using some network paths, and the user from the service may > > not > > > access these. > > > > with kind regards > > > Ruben Willems > > > > On Tue, Dec 16, 2008 at 3:55 PM, Hugo <[email protected]> > > wrote: > > > > > Hi there, > > > > > I was reading this and it looks like somethings I´m trying to do, I > > > > wish you could help me out with this. I´m working with the CC .Net and > > > > I´m trying to run some VBScripts from the CC .Net config but somehow > > > > it trows me the error: > > > > > ThoughtWorks.CruiseControl.Core.Tasks.BuilderException: Command Line > > > > Build timed out (after 10 seconds) > > > > > trying to run this simple task: > > > > > <exec> > > > > <executable>C:\Windows\System32\wscript.exe</executable> > > > > <baseDirectory>D:\CI\aam\Databases\Teardown</baseDirectory> > > > > <buildArgs>Prueba.vbs</buildArgs> > > > > <buildTimeoutSeconds>10</buildTimeoutSeconds> > > > > </exec> > > > > > I do this just for trying to see what´s wrong this is what I really > > > > want to do, exec the VBScript passing some parameters with this code: > > > > > <exec> > > > > <executable>C:\Windows\System32\wscript.exe</executable> > > > > <baseDirectory>d:\CI\aam\Databases\Teardown</baseDirectory> > > > > <buildArgs>//T:100 Components_DB.VBS /path:"d:\CI\aam\Databases > > > > \Teardown\Tables" /databasename:"Teardown" </buildArgs> > > > > </exec> > > > > > But it gives the very same error but this time it says (after 600 > > > > seconds). > > > > > Would you help me please? > > > > > Thanks, > > > > Regards from México.- Ocultar texto de la cita - > > > > - Mostrar texto de la cita -- Ocultar texto de la cita - > > - Mostrar texto de la cita -
