You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2026-04-30 20:49:04 +02:00
34 lines
1020 B
Plaintext
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/*'
|
|
}
|
|
}
|
|
}
|
|
} |