File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ declare -a projectList=(
1616 " $path /Services/Location/Locations.API"
1717 " $path /Services/Marketing/Marketing.API"
1818 " $path /Services/Payment/Payment.API"
19- " $path /Services/GracePeriod/GracePeriodManager"
2019 " $path /Web/WebMVC"
2120 " $path /Web/WebStatus"
2221)
3231 pushd $path /$project
3332 rm -rf obj/Docker/publish
3433 echo -e " \e[33m\tRestoring project $project "
35- dotnet restore
34+ dotnet restore --verbosity minimal
3635 echo -e " \e[33m\tBuilding and publishing $project "
37- dotnet publish -o obj/Docker/publish
36+ dotnet publish -c Release - o obj/Docker/publish --verbosity minimal
3837 popd
3938done
4039
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ services:
1111# Next line is using the .sln file to compile all the projects.
1212# Sometime there is an issue in msbuild exits the process before finishing building the bits: (https://github.com/Microsoft/msbuild/issues/2153)
1313# Random error: error MSB4017: The build stopped unexpectedly be cause of an unexpected logger failure.
14- # command: /bin/bash -c "pushd ./src/Web/WebSPA && npm rebuild node-sass && popd && dotnet restore ./eShopOnContainers-ServicesAndWebApps.sln && dotnet publish ./eShopOnContainers-ServicesAndWebApps.sln -c Release -o ./obj/Docker/publish"
14+ # command: /bin/bash -c "pushd ./src/Web/WebSPA && npm rebuild node-sass && popd && dotnet restore ./eShopOnContainers-ServicesAndWebApps.sln --verbosity minimal && dotnet publish ./eShopOnContainers-ServicesAndWebApps.sln -c Release -o ./obj/Docker/publish --verbosity minimal "
1515
1616# NOTE: Using build-bits-linux.sh from Linux build container exits before ending.
1717 command : /bin/bash -c "pushd ./src/Web/WebSPA && npm rebuild node-sass && popd && pushd /cli-linux && ./build-bits-linux.sh /src"
You can’t perform that action at this time.
0 commit comments