feat(controller): added lima
This commit is contained in:
@@ -14,7 +14,7 @@ param (
|
|||||||
# example string to pass over, you must be in the script dir when you run this script. or it will fail to find the linked scripts
|
# example string to pass over, you must be in the script dir when you run this script. or it will fail to find the linked scripts
|
||||||
|
|
||||||
# If we do not pass plant to update over it will auto do all plants if we want a specific plant we need to do like below
|
# If we do not pass plant to update over it will auto do all plants if we want a specific plant we need to do like below
|
||||||
# .\update-controllers.ps1 -App_Path "C:\Users\matthes01\Documents\lst" -Token "usiow2" -BuildController yes -PlantToUpdate "usiow1vms006" -Remote_Path "D$\LST\lst_2"
|
# .\update-controllers.ps1 -App_Path "C:\Users\matthes01\Documents\lst" -Token "test3" -BuildController yes -PlantToUpdate "usmcd1vms036" -Remote_Path "E$\LST"
|
||||||
# .\update-controllers.ps1 -App_Path "C:\Users\matthes01\Documents\lst" -Token "test3" -BuildController yes
|
# .\update-controllers.ps1 -App_Path "C:\Users\matthes01\Documents\lst" -Token "test3" -BuildController yes
|
||||||
|
|
||||||
$Plants = @(
|
$Plants = @(
|
||||||
@@ -27,6 +27,7 @@ $Plants = @(
|
|||||||
@{ Server = "usflo1vms006"; Token = "usflo1" ; Remote_Path = "E$\LST" }
|
@{ Server = "usflo1vms006"; Token = "usflo1" ; Remote_Path = "E$\LST" }
|
||||||
@{ Server = "usiow1vms006"; Token = "usiow1" ; Remote_Path = "D$\LST\lst" }
|
@{ Server = "usiow1vms006"; Token = "usiow1" ; Remote_Path = "D$\LST\lst" }
|
||||||
@{ Server = "usiow1vms006"; Token = "usiow2" ; Remote_Path = "D$\LST\lst_2" }
|
@{ Server = "usiow1vms006"; Token = "usiow2" ; Remote_Path = "D$\LST\lst_2" }
|
||||||
|
@{ Server = "uslim1vms006"; Token = "uslim1" ; Remote_Path = "E$\LST" }
|
||||||
@{ Server = "usmcd1vms006"; Token = "usmcd1" ; Remote_Path = "E$\LST" }
|
@{ Server = "usmcd1vms006"; Token = "usmcd1" ; Remote_Path = "E$\LST" }
|
||||||
@{ Server = "usslc1vms006"; Token = "usslc1" ; Remote_Path = "E$\LST" }
|
@{ Server = "usslc1vms006"; Token = "usslc1" ; Remote_Path = "E$\LST" }
|
||||||
@{ Server = "usstp1vms006"; Token = "usstp1" ; Remote_Path = "D$\LST" }
|
@{ Server = "usstp1vms006"; Token = "usstp1" ; Remote_Path = "D$\LST" }
|
||||||
@@ -107,6 +108,8 @@ if (-Not (Test-Path $BuildFolder)) {
|
|||||||
# only rebuild if we push yes over
|
# only rebuild if we push yes over
|
||||||
if ($BuildController -eq "yes") {
|
if ($BuildController -eq "yes") {
|
||||||
# now we can create the zip
|
# now we can create the zip
|
||||||
|
|
||||||
|
|
||||||
Zip-Includes -IncludesFile $ControlIncludes -BuildNumber $BuildNumber -BuildFolder $BuildFolder -AppRoot $App_Path
|
Zip-Includes -IncludesFile $ControlIncludes -BuildNumber $BuildNumber -BuildFolder $BuildFolder -AppRoot $App_Path
|
||||||
Start-Sleep -Seconds 3
|
Start-Sleep -Seconds 3
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user