Skip to content

Commit 0936f16

Browse files
committed
IGNITE-7566 .NET: Build scripts: stop build when one of the steps fails
1 parent 8c3731e commit 0936f16

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

modules/platforms/dotnet/build-mono.sh

100644100755
+5
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,15 @@
2020
# Builds Java and .NET with Mono
2121
#
2222

23+
# Fail on error.
24+
set -e
25+
26+
# Build Java.
2327
pushd .
2428
cd ../../..
2529
mvn clean package -DskipTests -Dmaven.javadoc.skip=true -Plgpl,-examples,-clean-libs,-release,-scala,-clientDocs
2630
popd
2731

32+
# Build .NET.
2833
nuget restore Apache.Ignite.sln
2934
msbuild Apache.Ignite.sln /p:RunCodeAnalysis=false

modules/platforms/dotnet/build.sh

+5
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,15 @@
2020
# Builds Java and .NET with .NET Core
2121
#
2222

23+
# Fail on error.
24+
#set -e
25+
26+
# Build Java.
2327
pushd .
2428
cd ../../..
2529
mvn clean package -DskipTests -Dmaven.javadoc.skip=true -Plgpl,-examples,-clean-libs,-release,-scala,-clientDocs
2630
popd
2731

32+
# Build .NET
2833
cd Apache.Ignite.Core.Tests.DotNetCore
2934
dotnet build

0 commit comments

Comments
 (0)