-
Notifications
You must be signed in to change notification settings - Fork 0
/
dock.ps1
22 lines (18 loc) · 832 Bytes
/
dock.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# mvn spring-boot:build-image -Dspring-boot.build-image.imageName=discovery-b
function Build-DiscoveryB {
# run the command in a new process
Start-Process -FilePath "cmd.exe" -ArgumentList "/c mvn spring-boot:build-image -Dspring-boot.build-image.imageName=discovery-b" -WorkingDirectory .\discovery-b\
}
function Build-ServiceB {
# run the command in a new process
Start-Process -FilePath "cmd.exe" -ArgumentList "/c mvn spring-boot:build-image -Dspring-boot.build-image.imageName=service-b" -WorkingDirectory .\service-b\
}
function Build-UIB {
# run the command in a new process
Start-Process -FilePath "cmd.exe" -ArgumentList "/c mvn spring-boot:build-image -Dspring-boot.build-image.imageName=ui-b" -WorkingDirectory .\ui-b\
}
Build-DiscoveryB
Start-Sleep 10
Build-ServiceB
Start-Sleep 10
Build-UIB