Subject: Re: Remote Execution - Plugin or Patch? - msg#00028
List: windows.dotnet.ccnet.devel
pboyd04 writes:
>
I'm going to have some difficulties writing NUnit Tests for this since
>
it will require connection to another server... or SSH on the local
>
server. Any ideas on this?
There are existing examples of this, in (for example)
UnitTests\Core\Util\HttpWrapperTest. In general we like to have the
tests written but set up to not be run automatically. Then can then be
run whenever desired with human supervision. There are a couple of
dozen such normally-suppressed tests already.
Ross
________________________________
Ross A. Patterson, CISSP
Sr. Director, Development
Tel: +1 703-390-0865
RPatterson-n+StgaK5z3sAvxtiuMwx3w@xxxxxxxxxxxxxxxx
Q.Know Technologies, Inc.
11600 Sunrise Valley Drive, Suite 300
Reston, VA 20191
www.QKnow.com
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
Re: Remote Execution - Plugin or Patch?
To clarify it will work from any server running CCNET to any server
with an SSH server. I use it to run commands from a Windows based
Cruise Control server to a Linux server. It could run commands on
anything with SSH.
I'm going to have some difficulties writing NUnit Tests for this since
it will require connection to another server... or SSH on the local
server. Any ideas on this?
Patrick
On Aug 21, 1:07 pm, "Ruben Willems"
<ruben.will...-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx> wrote:
> Hi
>
> If the code is easily adjusted/configured to also run on Windows systems,
> a patch is interesting. No promise that it will included in the main
> trunc anytime soon,
> but the chance is definitely bigger.
>
> If you would like to share this code in a quick way, a plugin is the way to
> go.
>
> with kind regards
> Ruben Willems
>
> On 8/21/07, pboyd04 <pboy...-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx> wrote:
>
>
>
> > I have some code I've written which uses SharpSSH to remotely execute
> > commands on Linux servers. I wanted to know if it was best for me to
> > release this as a plugin or a patch?
Next Message by Date:
click to view message preview
Question concerning order of tasks
All,
I have created my own labeller that will get the revision from source
control and use that as the label. We are currently using 1.2.1. It
seems as if when we build the label is one revision off from what it
is really is. For example the labeller reports that it is at revision
3313 but in reality it is at 3314. I looked in the code and all I can
see is that the labeller is part of prebuild. Is this correct? Why
would the labeller be done before the actual execution of tasks? I am
hoping I am getting something wrong and would really appreciate any
one's input. I have also posted this to the user group so I am really
hoping someone can help me out.
Thanks,
James
Previous Message by Thread:
click to view message preview
Re: Remote Execution - Plugin or Patch?
To clarify it will work from any server running CCNET to any server
with an SSH server. I use it to run commands from a Windows based
Cruise Control server to a Linux server. It could run commands on
anything with SSH.
I'm going to have some difficulties writing NUnit Tests for this since
it will require connection to another server... or SSH on the local
server. Any ideas on this?
Patrick
On Aug 21, 1:07 pm, "Ruben Willems"
<ruben.will...-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx> wrote:
> Hi
>
> If the code is easily adjusted/configured to also run on Windows systems,
> a patch is interesting. No promise that it will included in the main
> trunc anytime soon,
> but the chance is definitely bigger.
>
> If you would like to share this code in a quick way, a plugin is the way to
> go.
>
> with kind regards
> Ruben Willems
>
> On 8/21/07, pboyd04 <pboy...-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx> wrote:
>
>
>
> > I have some code I've written which uses SharpSSH to remotely execute
> > commands on Linux servers. I wanted to know if it was best for me to
> > release this as a plugin or a patch?
Next Message by Thread:
click to view message preview
Question concerning order of tasks
All,
I have created my own labeller that will get the revision from source
control and use that as the label. We are currently using 1.2.1. It
seems as if when we build the label is one revision off from what it
is really is. For example the labeller reports that it is at revision
3313 but in reality it is at 3314. I looked in the code and all I can
see is that the labeller is part of prebuild. Is this correct? Why
would the labeller be done before the actual execution of tasks? I am
hoping I am getting something wrong and would really appreciate any
one's input. I have also posted this to the user group so I am really
hoping someone can help me out.
Thanks,
James