You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by pt...@apache.org on 2018/03/07 08:10:28 UTC
ignite git commit: IGNITE-7566 .NET: Build scripts: stop build when
one of the steps fails
Repository: ignite
Updated Branches:
refs/heads/master 8c3731e83 -> 0936f162b
IGNITE-7566 .NET: Build scripts: stop build when one of the steps fails
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/0936f162
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/0936f162
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/0936f162
Branch: refs/heads/master
Commit: 0936f162b84d0ff701ac020405e7e44f55fae52e
Parents: 8c3731e
Author: Pavel Tupitsyn <pt...@apache.org>
Authored: Wed Mar 7 11:10:08 2018 +0300
Committer: Pavel Tupitsyn <pt...@apache.org>
Committed: Wed Mar 7 11:10:08 2018 +0300
----------------------------------------------------------------------
modules/platforms/dotnet/build-mono.sh | 5 +++++
modules/platforms/dotnet/build.sh | 5 +++++
2 files changed, 10 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ignite/blob/0936f162/modules/platforms/dotnet/build-mono.sh
----------------------------------------------------------------------
diff --git a/modules/platforms/dotnet/build-mono.sh b/modules/platforms/dotnet/build-mono.sh
old mode 100644
new mode 100755
index 6f73eb7..a0a01c1
--- a/modules/platforms/dotnet/build-mono.sh
+++ b/modules/platforms/dotnet/build-mono.sh
@@ -20,10 +20,15 @@
# Builds Java and .NET with Mono
#
+# Fail on error.
+set -e
+
+# Build Java.
pushd .
cd ../../..
mvn clean package -DskipTests -Dmaven.javadoc.skip=true -Plgpl,-examples,-clean-libs,-release,-scala,-clientDocs
popd
+# Build .NET.
nuget restore Apache.Ignite.sln
msbuild Apache.Ignite.sln /p:RunCodeAnalysis=false
http://git-wip-us.apache.org/repos/asf/ignite/blob/0936f162/modules/platforms/dotnet/build.sh
----------------------------------------------------------------------
diff --git a/modules/platforms/dotnet/build.sh b/modules/platforms/dotnet/build.sh
index fc5b344..1a58ff0 100755
--- a/modules/platforms/dotnet/build.sh
+++ b/modules/platforms/dotnet/build.sh
@@ -20,10 +20,15 @@
# Builds Java and .NET with .NET Core
#
+# Fail on error.
+#set -e
+
+# Build Java.
pushd .
cd ../../..
mvn clean package -DskipTests -Dmaven.javadoc.skip=true -Plgpl,-examples,-clean-libs,-release,-scala,-clientDocs
popd
+# Build .NET
cd Apache.Ignite.Core.Tests.DotNetCore
dotnet build