mirror of
https://github.com/firstBitMarksistskaya/jenkins-lib.git
synced 2024-12-03 09:59:00 +02:00
Поменял хак на нормальный метод.
This commit is contained in:
parent
7d16c50295
commit
276c54a4ee
@ -30,14 +30,11 @@ class GetExtensions implements Serializable {
|
||||
|
||||
steps.installLocalDependencies();
|
||||
|
||||
|
||||
String vrunnerPath = initVRunnerPath();
|
||||
|
||||
|
||||
Logger.println("Сборка расширений")
|
||||
|
||||
String sourceDirName = ""
|
||||
|
||||
if (config.sourceFormat == SourceFormat.EDT) {
|
||||
sourceDirName = "$env.WORKSPACE/$EdtToDesignerFormatTransformation.EXTENSION_DIR"
|
||||
}
|
||||
@ -46,6 +43,8 @@ class GetExtensions implements Serializable {
|
||||
}
|
||||
extractConvertedExtensions(sourceDirName, steps)
|
||||
|
||||
steps.createDir(EXTENSIONS_OUT_DIR)
|
||||
|
||||
config.initInfoBaseOptions.extensions.each {
|
||||
if (it.initMethod == InitMethod.SOURCE) {
|
||||
Logger.println("Сборка расширения ${it.name} из исходников")
|
||||
@ -59,9 +58,6 @@ class GetExtensions implements Serializable {
|
||||
}
|
||||
|
||||
private void buildExtension(Extension extension, String srcDir, String vrunnerPath, IStepExecutor steps) {
|
||||
// ТУТ ГРЯЗНЫЙ ХАК
|
||||
VRunner.exec("mkdir -p $EXTENSIONS_OUT_DIR")
|
||||
// ТУТ КОНЕЦ ГРЯЗНОГО ХАКА
|
||||
|
||||
def compileExtCommand = "$vrunnerPath compileexttocfe --src ${srcDir} --out $EXTENSIONS_OUT_DIR/${extension.name}.cfe"
|
||||
List<String> logosConfig = ["LOGOS_CONFIG=$config.logosConfig"]
|
||||
|
Loading…
Reference in New Issue
Block a user