Commit 5a236b6c authored by Markus Frosch's avatar Markus Frosch 📣
Browse files

Add better artifact archival

parent b0c214c7
Pipeline #3754 passed with stage
in 17 minutes and 41 seconds
......@@ -11,11 +11,10 @@ variables:
tags:
- windows
script:
- Remove-Item *.msi,*.nupkg,*.nuspec
- Remove-Item *.msi,*.nupkg,*.nuspec,*.zip
- powershell.exe .\source.ps1
- powershell.exe .\build.ps1
- Copy-Item .\icinga2\Build\Icinga*.msi,.\icinga2\Build\choco\*.nuspec,.\icinga2\Build\choco\*.nupkg .\
# TODO: rename msi to upload standard
- powershell.exe .\artifacts.ps1
cache:
key: "${CI_COMMIT_REF_NAME}-${CI_JOB_NAME}"
paths:
......
Set-PSDebug -Trace 1
if ($env:BITS -eq 32) {
$arch = "x86"
} else {
$arch = "x86_64"
}
if (-not (Test-Path env:CMAKE_BUILD_TYPE)) {
$env:CMAKE_BUILD_TYPE = "RelWithDebInfo"
}
Copy-Item .\icinga2\Build\Icinga*.msi,.\icinga2\Build\choco\*.nuspec,.\icinga2\Build\choco\*.nupkg .\
# TODO: get built version
# TODO: rename files according to archive standard
7z a -tzip "icinga2-$arch-symbols.zip" ".\icinga2\Build\Bin\${env:CMAKE_BUILD_TYPE}\${env:CMAKE_BUILD_TYPE}\*.pdb"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment