From 55216583f3fc5ffb582316771f34315b5c69a54f Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Wed, 26 Feb 2020 10:26:22 +0100 Subject: [PATCH 1/3] added template building --- Jenkinsfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index e548394..b0b35d6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,8 +1,5 @@ pipeline { agent any - environment { - BAGET = credentials('3db850d0-e6b5-43d5-b607-d180f4eab676') - } stages { stage('Build Projects') { steps { @@ -10,6 +7,9 @@ pipeline { dotnet build $i done''' sh 'dotnet build **/Demos.csproj' + sh '''for i in **/TemplateNamespace.csproj; do + dotnet build $i +done''' } } @@ -31,4 +31,7 @@ done''' } } + environment { + BAGET = credentials('3db850d0-e6b5-43d5-b607-d180f4eab676') + } } \ No newline at end of file From 2a8766dc05ef6cfbbd69197073491c511bcce5b9 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Wed, 26 Feb 2020 10:27:22 +0100 Subject: [PATCH 2/3] whoops subfolders --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index b0b35d6..e3ce4ef 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -7,7 +7,7 @@ pipeline { dotnet build $i done''' sh 'dotnet build **/Demos.csproj' - sh '''for i in **/TemplateNamespace.csproj; do + sh '''for i in **/*/TemplateNamespace.csproj; do dotnet build $i done''' } From 9d90a72d53a45632e1768c1f35cc9a7bc82fde96 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Wed, 26 Feb 2020 10:28:23 +0100 Subject: [PATCH 3/3] removed template building --- Jenkinsfile | 3 --- 1 file changed, 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index e3ce4ef..4e87854 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -7,9 +7,6 @@ pipeline { dotnet build $i done''' sh 'dotnet build **/Demos.csproj' - sh '''for i in **/*/TemplateNamespace.csproj; do - dotnet build $i -done''' } }