QuellCode/CentronERP war nur als Gitlink (Submodul-Referenz auf 79c1142) getrackt, ohne .gitmodules und ohne erreichbares Remote. Der Untersuchungsgegenstand der Versuchsreihe war damit nicht reproduzierbar gesichert: Ein Klon haette ein leeres Verzeichnis erhalten, und die Belege der 3.287 Anforderungen waeren nicht ueberpruefbar gewesen. Umstellung: - Historie nach c:\DEV\CentronERP_git_snapshot_79c1142 ausgelagert (vollstaendig lesbar, enthaelt 79c1142 und Vorgaenger 89ccfd6) - Gitlink aus dem Index entfernt - Dateiinhalt aufgenommen: 24.557 Dateien, rund 333 MB Die verschachtelte .gitignore der Codebasis gilt weiter, Build-Artefakte bleiben ausgeschlossen. Details in Versuche/Versuch_01/_Codebasis-Nachweis.md
56 lines
2.8 KiB
YAML
56 lines
2.8 KiB
YAML
steps:
|
|
|
|
- script: 'dotnet run --project "./scripts/Scripts/Scripts.csproj" -- build-nexus 2>&1'
|
|
displayName: Build Nexus
|
|
|
|
- task: TrustedSigning@0
|
|
displayName: Signing Nexus
|
|
inputs:
|
|
AzureTenantID: $(AzureTenantID)
|
|
AzureClientID: $(AzureClientID)
|
|
AzureClientSecret: $(AzureClientSecret)
|
|
AzureClientSendCertificateChain: false
|
|
Endpoint: 'https://weu.codesigning.azure.net/'
|
|
TrustedSigningAccountName: 'CentronCodesigning'
|
|
CertificateProfileName: 'centroncert'
|
|
FileDigest: 'SHA256'
|
|
Files: |
|
|
$(Build.SourcesDirectory)\src\nexus\CentronNexus.Host\bin\Release\net10.0\win-x64\publish\CentronNexus.Host.exe
|
|
$(Build.SourcesDirectory)\src\nexus\CentronNexus.Host\bin\Release\net10.0\win-x64\publish\CentronNexus.Host.dll
|
|
$(Build.SourcesDirectory)\src\nexus\CentronNexus.Host\bin\Release\net10.0\win-x64\publish\CentronNexus.dll
|
|
$(Build.SourcesDirectory)\src\nexus\CentronNexus.Host\bin\Release\net10.0\win-x64\publish\CentronNexus.OutlookAddIn.dll
|
|
$(Build.SourcesDirectory)\src\nexus\CentronNexus.Host\bin\Release\net10.0\win-x64\publish\Centron.Core.dll
|
|
$(Build.SourcesDirectory)\src\nexus\CentronNexus.Host\bin\Release\net10.0\win-x64\publish\Centron.WebServices.Core.dll
|
|
$(Build.SourcesDirectory)\src\nexus\CentronNexus.Host\bin\Release\net10.0\win-x64\publish\Centron.Interfaces.dll
|
|
$(Build.SourcesDirectory)\src\nexus\CentronNexus.Host\bin\Release\net10.0\win-x64\publish\Centron.Office.Client.dll
|
|
|
|
|
|
- script: 'dotnet run --project "./scripts/Scripts/Scripts.csproj" -- zip-nexus-directory 2>&1'
|
|
displayName: Set Nexus Zip-Directory
|
|
|
|
- script: 'dotnet tool update --global wix --version "5.0.2" --allow-downgrade || dotnet tool install --global wix --version "5.0.2"'
|
|
displayName: Install WiX Toolset 5.x (WixSharp 2.x compatible)
|
|
|
|
- script: 'wix extension add -g WixToolset.UI.wixext/5.0.2'
|
|
displayName: Install WiX UI Extension 5.x
|
|
|
|
- script: 'dotnet run --project "./scripts/Scripts/Scripts.csproj" -- build-nexus-installer 2>&1'
|
|
displayName: Build Nexus Installer
|
|
|
|
- task: TrustedSigning@0
|
|
displayName: Signing Nexus
|
|
inputs:
|
|
AzureTenantID: $(AzureTenantID)
|
|
AzureClientID: $(AzureClientID)
|
|
AzureClientSecret: $(AzureClientSecret)
|
|
AzureClientSendCertificateChain: false
|
|
Endpoint: 'https://weu.codesigning.azure.net/'
|
|
TrustedSigningAccountName: 'CentronCodesigning'
|
|
CertificateProfileName: 'centroncert'
|
|
FileDigest: 'SHA256'
|
|
Files: $(Build.SourcesDirectory)\deployment\WixSharpInstaller\bin\Release\net10.0-windows\c-entron Nexus.msi
|
|
|
|
- script: 'dotnet run --project "./scripts/Scripts/Scripts.csproj" -- zip-nexus-singleFile 2>&1'
|
|
displayName: Zip Nexus Installer
|
|
|