From 1147469d2f1f3cef3edc8fbea64fe5752821b9f9 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Mon, 17 Feb 2020 17:24:13 +0100 Subject: [PATCH 1/2] jenkins, part 1, oh boy --- Jenkinsfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..3199a00 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,13 @@ +pipeline { + agent any + stages { + stage('Build Projects') { + steps { + sh 'dotnet build **/MLEM*.csproj' + sh 'dotnet build **/Demos.csproj' + sh 'dotnet build **/Demos.DesktopGL.csproj' + } + } + + } +} \ No newline at end of file From 90cf57fb4fcf3e0d1cc48bd3ff1a13ee723d2615 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Mon, 17 Feb 2020 17:29:42 +0100 Subject: [PATCH 2/2] try to fix this to build all of them seperately --- Jenkinsfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 3199a00..c8a7696 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,7 +3,9 @@ pipeline { stages { stage('Build Projects') { steps { - sh 'dotnet build **/MLEM*.csproj' + sh '''for i in **/MLEM*.csproj; do + dotnet build $i +done''' sh 'dotnet build **/Demos.csproj' sh 'dotnet build **/Demos.DesktopGL.csproj' }