1
0

Вынос scm-шага в отдельный класс

This commit is contained in:
Nikita Gryzlov
2020-11-03 11:50:41 +03:00
committed by kuzja086
parent 156f1dc727
commit c1083777a1
4 changed files with 119 additions and 103 deletions

View File

@@ -29,13 +29,16 @@ void call() {
label 'agent'
}
options {
skipDefaultCheckout(false)
}
environment {
GIT_LFS_SKIP_SMUDGE=1
}
steps {
echo "test"
checkout scm
script {
config = jobConfiguration() as JobConfiguration
agent1C = config.v8version
@@ -59,7 +62,7 @@ void call() {
steps {
printLocation()
checkout scm
customCheckout config
installLocalDependencies()
@@ -102,7 +105,7 @@ void call() {
expression { config.stageFlags.edtValidate }
}
steps {
checkout scm
customCheckout config
edtTransform config
}
}
@@ -120,7 +123,7 @@ void call() {
expression { config.stageFlags.edtValidate }
}
steps {
checkout scm
customCheckout config
edtValidate config
}
}
@@ -134,7 +137,7 @@ void call() {
expression { config.stageFlags.bdd }
}
steps {
checkout scm
customCheckout config
unzipInfobase()
bdd config
@@ -150,7 +153,7 @@ void call() {
expression { config.stageFlags.syntaxCheck }
}
steps {
checkout scm
customCheckout config
syntaxCheck config
}
}
@@ -164,7 +167,7 @@ void call() {
expression { config.stageFlags.smoke }
}
steps {
checkout scm
customCheckout config
smoke config
}
}
@@ -180,7 +183,7 @@ void call() {
expression { config.stageFlags.edtValidate }
}
steps {
checkout scm
customCheckout config
transform config
}
}
@@ -194,7 +197,7 @@ void call() {
expression { config.stageFlags.sonarqube }
}
steps {
checkout scm
customCheckout config
sonarScanner config
}
}