[rst-commit] r160 - /redwax-signtext-windows/trunk/Jenkinsfile

rst-commit at redwax.eu rst-commit at redwax.eu
Sun Jun 23 23:40:30 CEST 2024


Author: minfrin at redwax.eu
Date: Sun Jun 23 23:40:30 2024
New Revision: 160

Log:
Create Debug/Release x64/armm64 in parallel.

Modified:
    redwax-signtext-windows/trunk/Jenkinsfile

Modified: redwax-signtext-windows/trunk/Jenkinsfile
==============================================================================
--- redwax-signtext-windows/trunk/Jenkinsfile	(original)
+++ redwax-signtext-windows/trunk/Jenkinsfile	Sun Jun 23 23:40:30 2024
@@ -4,7 +4,7 @@
     stage('Build') {
       parallel {
 
-        stage('Windows11') {
+        stage('Windows11-Debug-x64') {
           agent { label 'windows-11-x86_64' }
           stages {
             stage('nuget') {
@@ -17,7 +17,7 @@
             stage('mbsuild') {
               steps {
                 dir("Redwax SignText") {
-                  bat 'msbuild "Redwax SignText.sln"'
+                  bat 'msbuild "Redwax SignText.sln" /p:Configuration=Debug -p:Platform=x64'
                 }
               }
             }
@@ -31,6 +31,87 @@
           }
         }
 
+        stage('Windows11-Debug-arm64') {
+          agent { label 'windows-11-x86_64' }
+          stages {
+            stage('nuget') {
+              steps {
+                dir("Redwax SignText") {
+                  bat 'nuget restore "Redwax SignText.sln"'
+                }
+              }
+            }
+            stage('mbsuild') {
+              steps {
+                dir("Redwax SignText") {
+                  bat 'msbuild "Redwax SignText.sln" /p:Configuration=Debug -p:Platform=arm64'
+                }
+              }
+            }
+            stage('archive') {
+              steps {
+                dir("Redwax SignText") {
+                  archiveArtifacts artifacts: 'Redwax SignText Installer\bin\**\**\**\Redwax SignText Installer.msi', onlyIfSuccessful: true
+                }
+              }
+            }
+          }
+        }
+
+        stage('Windows11-Release-x64') {
+          agent { label 'windows-11-x86_64' }
+          stages {
+            stage('nuget') {
+              steps {
+                dir("Redwax SignText") {
+                  bat 'nuget restore "Redwax SignText.sln"'
+                }
+              }
+            }
+            stage('mbsuild') {
+              steps {
+                dir("Redwax SignText") {
+                  bat 'msbuild "Redwax SignText.sln" /p:Configuration=Release -p:Platform=x64'
+                }
+              }
+            }
+            stage('archive') {
+              steps {
+                dir("Redwax SignText") {
+                  archiveArtifacts artifacts: 'Redwax SignText Installer\bin\**\**\**\Redwax SignText Installer.msi', onlyIfSuccessful: true
+                }
+              }
+            }
+          }
+        }
+
+        stage('Windows11-Release-arm64') {
+          agent { label 'windows-11-x86_64' }
+          stages {
+            stage('nuget') {
+              steps {
+                dir("Redwax SignText") {
+                  bat 'nuget restore "Redwax SignText.sln"'
+                }
+              }
+            }
+            stage('mbsuild') {
+              steps {
+                dir("Redwax SignText") {
+                  bat 'msbuild "Redwax SignText.sln" /p:Configuration=Release -p:Platform=arm64'
+                }
+              }
+            }
+            stage('archive') {
+              steps {
+                dir("Redwax SignText") {
+                  archiveArtifacts artifacts: 'Redwax SignText Installer\bin\**\**\**\Redwax SignText Installer.msi', onlyIfSuccessful: true
+                }
+              }
+            }
+          }
+        }
+
       }
     }
   }



More information about the rst-commit mailing list