Gradle SSH Plugin 1.0.2ããªãªã¼ã¹ãã¾ããï¼ SSH Pluginã使ãã¨ï¼ä¸è¨ã®ããã«GradleããSSHã§ã³ãã³ããå®è¡ããããã¡ã¤ã«ãéåä¿¡ãããã§ãã¾ãï¼ // build.gradle plugins { id 'org.hidetake.ssh' version '1.0.2' } remotes { webServer { host = '192.168.1.101' user = 'jenkins' identity = file('id_rsa') } } task deploy << { ssh.run { session(remotes.webServer) { put 'example.war', '/webapps' execute 'sudo service tomcat restart' } } } 詳ãã使ãæ¹ã¯ https://gr
{{#tags}}- {{label}}
{{/tags}}