[Buildbot-devel] 回复: how to change directory in buildslave on Windows?

雷东壁 dongbi_lei at yahoo.com
Thu Jul 9 07:31:41 UTC 2009


Thank you Lukas! It works fine!

But I still want to know how to change dir on Windows via shellcommand, cause sometimes it's not safe working with absolute dir...

thx!



----- 原始邮件 ----
发件人: Lukas Linhart <lukas.linhart at centrumholdings.com>
收件人: buildbot-devel at lists.sourceforge.net
抄送: 雷东壁 <dongbi_lei at yahoo.com>
已发送: 2009/7/9(周四), 下午3:17:16
主题: Re: [Buildbot-devel] how to change directory in buildslave on Windows?

Just use workdir= parameter in steps you'd like "cd" to take effect.

Almad

Dne čtvrtek 09 Červenec 2009 08:25:16 雷东壁 napsal(a):
> Hi,
> I'm running a buildslave on Windows2003, buildbot version is 0.7.10.
> In build steps, I want to change work directory via
>
> f1.addStep(ShellCommand(command="cd", "DestPath"))
>
> But it does not work. The working directory has not been changed.
>
> How to change directory on Windows?
>
> Thx!
>
>
>       ___________________________________________________________
>   好玩贺卡等你发,邮箱贺卡全新上线!
> http://card.mail.cn.yahoo.com/
>
> ---------------------------------------------------------------------------
>--- Enter the BlackBerry Developer Challenge
> This is your chance to win up to $100,000 in prizes! For a limited time,
> vendors submitting new applications to BlackBerry App World(TM) will have
> the opportunity to enter the BlackBerry Developer Challenge. See full prize
> details at: http://p.sf.net/sfu/Challenge
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel


      ___________________________________________________________ 
  好玩贺卡等你发,邮箱贺卡全新上线! 
http://card.mail.cn.yahoo.com/




More information about the devel mailing list