Hi,

My build script does not compile anything,it is just meant to start and
stop tomcat on a remote server.

I have been looking at out-of-the-box solutions for this, and found none.
My server has a sudoer list, so I can't ssh as root. Combined with the
impossibility to change sudoer policy to create password-less sodoers,
disqualifies sshexec.

Anyway, I have developed a class that does the job, by opening an
interactive SSH session, with a pseudo terminal.

I use the sshtools j2ssh library to do this.

Now, I don't know how I can develop a plugin for this, but I thought I'd
just drop my class in build.gradle for now, and see how that would work.
The problem is that my script would not compile, because my classes depend
on j2ssh.

How can I fix this?

Thanks for helping an newbie

Reply via email to