1
0
mirror of https://github.com/firstBitMarksistskaya/jenkins-lib.git synced 2025-08-25 20:09:25 +02:00

Fix extension archiving error when no extensions are configured (#162)

* Initial plan

* Fix extension archiving when no extensions configured

Co-authored-by: nixel2007 <1132840+nixel2007@users.noreply.github.com>

* Remove redundant needLoadExtensions() check in GetExtensions.groovy

Co-authored-by: nixel2007 <1132840+nixel2007@users.noreply.github.com>

* Remove redundant needLoadExtensions() check in extractConvertedExtensions

Co-authored-by: nixel2007 <1132840+nixel2007@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: nixel2007 <1132840+nixel2007@users.noreply.github.com>
This commit is contained in:
Copilot
2025-08-11 18:03:41 +02:00
committed by GitHub
parent a0b62132ab
commit 3d3472652b

View File

@@ -45,9 +45,11 @@ class EdtToDesignerFormatTransformation implements Serializable {
steps.zip(CONFIGURATION_DIR, CONFIGURATION_ZIP)
steps.stash(CONFIGURATION_ZIP_STASH, CONFIGURATION_ZIP)
if (config.needLoadExtensions()) {
engine.edtToDesignerTransformExtensions(steps, config)
steps.zip(EXTENSION_DIR, EXTENSION_ZIP)
steps.stash(EXTENSION_ZIP_STASH, EXTENSION_ZIP)
}
}