Skip to content

Commit

Permalink
Merge pull request #1420 from EvilBeaver/nixel2007-patch-1
Browse files Browse the repository at this point in the history
Добавлены пропущенные шаги клонирования репозитория для windows-агентов
  • Loading branch information
EvilBeaver authored Jun 20, 2024
2 parents b5bca03 + c0e7e1d commit 0b0a505
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ pipeline {
stage('Windows Build') {
agent { label 'windows' }

options { skipDefaultCheckout() }

// пути к инструментам доступны только когда
// нода уже определена
environment {
Expand Down Expand Up @@ -116,12 +118,16 @@ pipeline {
parallel{
stage('Windows testing') {
agent { label 'windows' }
options { skipDefaultCheckout() }
environment {
OSCRIPT_CONFIG = 'systemlanguage=ru'
}
steps {
ws(env.WORKSPACE.replaceAll("%", "_").replaceAll(/(-[^-]+$)/, ""))
{
step([$class: 'WsCleanup'])
checkout scm

dir('install/build'){
deleteDir()
}
Expand Down Expand Up @@ -177,9 +183,14 @@ pipeline {
stage('Packaging') {
agent { label 'windows' }

options { skipDefaultCheckout() }

steps {
ws(env.WORKSPACE.replaceAll("%", "_").replaceAll(/(-[^-]+$)/, ""))
{
step([$class: 'WsCleanup'])
checkout scm

dir('built'){
deleteDir()
}
Expand Down Expand Up @@ -290,4 +301,4 @@ pipeline {
}
}
}
}
}

0 comments on commit 0b0a505

Please sign in to comment.