| @@ -18,11 +18,20 @@ Cleanup | |||||
| Deploy | Deploy | ||||
| Sub Deploy | Sub Deploy | ||||
| Debug.WriteLine ScriptDirectory & "PsExec64.exe -i \\" & DeployMachine & " -u ntp\daniel_admin -p BarkHornSlam4* cmd.exe copy """ & _ | |||||
| transferFolder & "zzip.zip"" " & """" & remoteDeployPath & "\zzip.zip""" & " & tar -xf ""C:\inetpub\tracking\zip.zip"" -C ""C:\inetpub\tracking""" | |||||
| Debug.WriteLine ScriptDirectory & "PsExec64.exe -i \\" & DeployMachine & " -u ntp\daniel_admin -p BarkHornSlam4* cmd.exe /C " & _ | |||||
| "nircmd.exe elevatecmd runassystem C:\Windows\System32\inetsrv\appcmd.exe stop apppool /apppool.name:tracking & " & _ | |||||
| "nircmd.exe elevatecmd runassystem C:\Windows\System32\inetsrv\appcmd.exe stop site /site.name:tracking & " & _ | |||||
| "copy /Y """ & transferFolder & "\zzip.zip"" " & """" & remoteDeployPath & "\zip.zip""" & " & tar -xf ""C:\inetpub\tracking\zip.zip"" -C ""C:\inetpub\tracking"" & exit" | |||||
| WshShell.Run ScriptDirectory & "PsExec64.exe -i \\" & DeployMachine & " -u ntp\daniel_admin -p BarkHornSlam4* cmd.exe /C copy """ & _ | |||||
| transferFolder & "\zzip.zip"" " & """" & remoteDeployPath & "\zip.zip""" & " & tar -xf ""C:\inetpub\tracking\zip.zip"" -C ""C:\inetpub\tracking""",1,True | |||||
| WshShell.Run ScriptDirectory & "PsExec64.exe -i \\" & DeployMachine & " -u ntp\daniel_admin -p BarkHornSlam4* cmd.exe /C " & _ | |||||
| "copy /Y """ & transferFolder & "\zzip.zip"" " & """" & remoteDeployPath & "\zip.zip""" & " & tar -xf ""C:\inetpub\tracking\zip.zip"" -C ""C:\inetpub\tracking"" & exit",1,True | |||||
| 'WshShell.Run ScriptDirectory & "PsExec64.exe -i \\" & DeployMachine & " -u ntp\daniel_admin -p BarkHornSlam4* " &_ | |||||
| '"nircmd.exe elevatecmd runassystem C:\Windows\System32\inetsrv\appcmd.exe stop apppool /apppool.name:tracking" | |||||
| '"nircmd.exe elevatecmd runassystem C:\Windows\System32\inetsrv\appcmd.exe stop apppool /apppool.name:tracking & " & _ | |||||
| '"nircmd.exe elevatecmd runassystem C:\Windows\System32\inetsrv\appcmd.exe stop site /site.name:tracking & " & _ | |||||
| '"copy /Y """ & transferFolder & "\zzip.zip"" " & """" & remoteDeployPath & "\zip.zip""" & " & tar -xf ""C:\inetpub\tracking\zip.zip"" -C ""C:\inetpub\tracking"" & exit",1,True | |||||
| End Sub | End Sub | ||||
| @@ -71,8 +80,9 @@ Sub CloneRepo | |||||
| objFile.WriteLine("dist/") | objFile.WriteLine("dist/") | ||||
| objFile.WriteLine("MVC/") | objFile.WriteLine("MVC/") | ||||
| objFile.WriteLine("Dependancies/") | objFile.WriteLine("Dependancies/") | ||||
| objFile.WriteLine("ImportService/") | |||||
| objFile.WriteLine("index.asp") | objFile.WriteLine("index.asp") | ||||
| objFile.WriteLine("web.config") | |||||
| 'objFile.WriteLine("web.config") | |||||
| WshShell.Exec("git pull origin master") | WshShell.Exec("git pull origin master") | ||||
| objFile.Close | objFile.Close | ||||
| Do until fso.FileExists(DeployRoot & "test\App\app.config.asp") | Do until fso.FileExists(DeployRoot & "test\App\app.config.asp") | ||||
Powered by TurnKey Linux.