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
1.6 KiB
YAML
56 lines
1.6 KiB
YAML
trigger:
|
|
- master
|
|
- release/*
|
|
|
|
variables:
|
|
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
|
|
IsDevBuild: $[startsWith(variables['Build.SourceBranch'], 'refs/pull/')]
|
|
UploadCentronArtifacts: $[or(startsWith(variables['Build.SourceBranch'], 'refs/heads/master'), startsWith(variables['Build.SourceBranch'], 'refs/heads/release/'))]
|
|
|
|
pool: Default
|
|
|
|
steps:
|
|
# Step: Install .NET SDK (version from global.json)
|
|
- task: UseDotNet@2
|
|
displayName: 'Install .NET SDK'
|
|
inputs:
|
|
packageType: 'sdk'
|
|
useGlobalJson: true
|
|
workingDirectory: '$(Build.SourcesDirectory)'
|
|
|
|
- powershell: |
|
|
if ("$(Build.SourceBranch)" -match "^refs/heads/(master|release)") {
|
|
Write-Host "##vso[task.setvariable variable=ShouldUpload;isOutput=true]true"
|
|
} else {
|
|
Write-Host "##vso[task.setvariable variable=ShouldUpload;isOutput=true]false"
|
|
}
|
|
name: set_upload_flag
|
|
|
|
# Step: Setup versioning and create NuGet packages
|
|
- template: build-templates/versioning.yaml
|
|
parameters:
|
|
isDevBuild: $(IsDevBuild)
|
|
|
|
# Step: Build Web Service
|
|
- template: build-templates/build-web-service.yaml
|
|
parameters:
|
|
isDevBuild: $(IsDevBuild)
|
|
|
|
# Step: Build Centron.NET
|
|
- template: build-templates/build-centron-net.yaml
|
|
parameters:
|
|
isDevBuild: $(IsDevBuild)
|
|
|
|
# Step: Build Nexus
|
|
- template: build-templates/build-nexus.yaml
|
|
parameters:
|
|
isDevBuild: $(IsDevBuild)
|
|
|
|
# Step: Deploy all artifacts
|
|
- template: build-templates/deploy-artifacts.yaml
|
|
|
|
# Step: Deploy all artifacts to nuget server
|
|
- template: build-templates/deploy-artifacts-nuget.yaml
|
|
|
|
# Step: Deploy all artifacts to sharepoint
|
|
- template: build-templates/deploy-artifacts-sharepoint.yaml |