pipeline { agent none stages { stage('Build') { parallel { stage('Windows11-Debug-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=Debug -p:Platform=x64' } } } stage('archive') { steps { dir("Redwax SignText") { archiveArtifacts artifacts: 'Redwax SignText Installer/bin/**/**/**/Redwax SignText Installer.msi', onlyIfSuccessful: true } } } } } 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 } } } } } } } } }