Online Jenkins deployed to a remote server Java example of the majority, did not even see how .net projects;
General idea:
1 Jenkins for local deployment (a lot of this information, does not elaborate)
2 will be released out of the designated generation to the next a relative path Jenkins working directory (step 3 will be used)
Step 2 under 3 sends the generated file via ssh to a remote service sites directory, and restart the site
4 Restart command the remote server site
C:\Windows\System32\inetsrv\appcmd.exe stop site "sitename"
C:\Windows\System32\inetsrv\appcmd.exe start site "sitename"
When originally released in the remote configuration commands written in the "exec command" in, but they can only execute a command, what is the mechanism?
He will command into a batch file copied to the server, "exec command" in pointing to the batch file; restart the site successful;