You've already forked jenkins-lib
forked from jenkins/jenkins-lib
Поддержка загрузки конфигурации из исходников конфигуратора
This commit is contained in:
@@ -4,6 +4,10 @@ import ru.pulsar.jenkins.library.utils.VersionParser
|
||||
|
||||
def call(JobConfiguration jobConfiguration) {
|
||||
|
||||
printLocation()
|
||||
|
||||
installLocalDependencies();
|
||||
|
||||
def storageVersion = VersionParser.storage()
|
||||
def storageVersionParameter = storageVersion == "" ? "" : "--storage-ver $storageVersion"
|
||||
|
||||
|
@@ -1,6 +1,7 @@
|
||||
/* groovylint-disable NestedBlockDepth */
|
||||
import groovy.transform.Field
|
||||
import ru.pulsar.jenkins.library.configuration.JobConfiguration
|
||||
import ru.pulsar.jenkins.library.configuration.SourceFormat
|
||||
|
||||
import java.util.concurrent.TimeUnit
|
||||
|
||||
@@ -55,7 +56,7 @@ void call() {
|
||||
}
|
||||
when {
|
||||
beforeAgent true
|
||||
expression { config.infobaseFromFiles() }
|
||||
expression { config.stageFlags.needInfobase() && config.sourceFormat == SourceFormat.EDT }
|
||||
}
|
||||
steps {
|
||||
edtToDesignerFormatTransformation config
|
||||
@@ -66,8 +67,6 @@ void call() {
|
||||
steps {
|
||||
printLocation()
|
||||
|
||||
installLocalDependencies()
|
||||
|
||||
createDir('build/out')
|
||||
|
||||
script {
|
||||
@@ -115,7 +114,7 @@ void call() {
|
||||
expression { config.sourceFormat.DESIGNER && config.stageFlags.edtValidate}
|
||||
}
|
||||
steps {
|
||||
edtTransform config
|
||||
designerToEdtFormatTransformation config
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user