1.1.1
Released on 2015-02-26
- #149 Groovy SSH 1.1.5
- New Feature
- Map based DSL extension system
ssh.settings {
extensions.add restartAppServer: {
execute "/opt/${project.name}/tomcat/bin/shutdown.sh"
execute "/opt/${project.name}/tomcat/bin/startup.sh"
}
}
ssh.run {
session(ssh.remotes.testServer) {
restartAppServer()
}
}No backward compatibility change
A trait extension can not access to the project now. Instead use a map extension. #148 has been removed.