1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2026-04-30 20:49:04 +02:00
Files
OpenIntegrations/ci/release
T
2026-01-18 10:30:31 +03:00

34 lines
1020 B
Plaintext

pipeline {
agent {
label 'windows'
}
stages {
stage('Release') {
steps {
powershell encoding: 'UTF-8', script:'Remove-Item -Path "./Melezh" -Recurse -Force'
bat 'oscript ./ci/os/internal/Classes/ReleaseFactory.os'
}
}
stage('Validate Artifacts') {
steps {
script {
def artifacts = findFiles(glob: '1.32.0/*')
def count = artifacts.size()
if (count != 16) {
error("Ожидается 16 артефактов, но найдено ${count}")
} else {
echo "✓ Найдено ${count} артефактов (ожидалось 16)"
}
}
}
}
stage('Archive') {
steps {
archiveArtifacts artifacts: '1.32.0/*'
}
}
}
}