diff --git a/src/ru/pulsar/jenkins/library/steps/EdtTransform.groovy b/src/ru/pulsar/jenkins/library/steps/EdtTransform.groovy index 739d57d..3ff8e48 100644 --- a/src/ru/pulsar/jenkins/library/steps/EdtTransform.groovy +++ b/src/ru/pulsar/jenkins/library/steps/EdtTransform.groovy @@ -99,6 +99,10 @@ class EdtTransform implements Serializable { List userRemoteConfigs = new ArrayList<>(scm.getUserRemoteConfigs()) + if (gitSCMOptions.lfsRepoURI.isEmpty()) { + return scm + } + def userRemoteConfig = userRemoteConfigs.find { it.url == gitSCMOptions.lfsRepoURI } boolean needToUpdateUserRemoteConfigs if (userRemoteConfig == null) {