Aggiunta replica script in area NAS

This commit is contained in:
Samuele Locatelli
2022-04-01 10:12:27 +02:00
parent a2fac0a0f9
commit 0da52d2a5a
+10 -1
View File
@@ -3,8 +3,9 @@ variables:
NEW_REL: ''
NET_SHARE: '\\10.74.82.50\EgtTech'
NET_USER: '10.74.82.50\Server'
NET_SHARE_2: '\\10.74.82.201\Artifacts'
#Note compilaizone LUA:
#Note compilazione LUA:
# lua53 -o 32\$FileName -s $FileName: -o = output, -s = NON include i debug symbols
# versioni compilazione ANCHE script esterni / eliminati
@@ -59,13 +60,21 @@ variables:
# helper copia script verso cartella di rete R:\ delle cartelle 32 e 64
.ReplicaCompiled: &ReplicaCompiled
- |
net use R: /delete
net use Z: /delete
net use R: $env:NET_SHARE /u:$env:NET_USER $RDRIVE_PASSWD
net use Z: $env:NET_SHARE_2
ROBOCOPY /MIR 32 R:\EgtData\Beam\32
ROBOCOPY /MIR 64 R:\EgtData\Beam\64
ROBOCOPY /MIR Images R:\EgtData\Beam\32\Images
ROBOCOPY /MIR Images R:\EgtData\Beam264\Images
ROBOCOPY /MIR 32 Z:\EgtData\Beam\32
ROBOCOPY /MIR 64 Z:\EgtData\Beam\64
ROBOCOPY /MIR Images Z:\EgtData\Beam\32\Images
ROBOCOPY /MIR Images Z:\EgtData\Beam264\Images
SLEEP 2
net use R: /delete
net use Z: /delete
stages:
- build