You've already forked jenkins-lib
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:
@@ -45,9 +45,11 @@ class EdtToDesignerFormatTransformation implements Serializable {
|
||||
steps.zip(CONFIGURATION_DIR, CONFIGURATION_ZIP)
|
||||
steps.stash(CONFIGURATION_ZIP_STASH, CONFIGURATION_ZIP)
|
||||
|
||||
engine.edtToDesignerTransformExtensions(steps, config)
|
||||
steps.zip(EXTENSION_DIR, EXTENSION_ZIP)
|
||||
steps.stash(EXTENSION_ZIP_STASH, EXTENSION_ZIP)
|
||||
if (config.needLoadExtensions()) {
|
||||
engine.edtToDesignerTransformExtensions(steps, config)
|
||||
steps.zip(EXTENSION_DIR, EXTENSION_ZIP)
|
||||
steps.stash(EXTENSION_ZIP_STASH, EXTENSION_ZIP)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user