From b23ece8c8c7f1669d371a8e8f990f6e8b55faa80 Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Thu, 1 Dec 2022 18:13:59 +0000 Subject: [PATCH] Added step to pull latest submodules. --- Jenkinsfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index c5ce939..a292907 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -5,13 +5,14 @@ pipeline { steps { sh "mamba env update --file environment.yml" sh "echo 'mamba activate gameservicewarden' >> ~/.bashrc" + sh "git submodule update --init --recursive" sh "dotnet restore GameServiceWarden" sh "dotnet restore GameServiceWarden.Tests" } } stage ("Test") { steps { - sh "sh 'dotnet test --logger xunit --no-restore GameServiceWarden.Tests" + sh "dotnet test --logger xunit --no-restore GameServiceWarden.Tests" xunit([xUnitDotNet(excludesPattern: '', pattern: 'GameServiceWarden.Tests/*.Tests/TestResults/*.xml', stopProcessingIfError: true)]) } }