From e5537b7eeb47b5ca1e0cf2e2df08155f45add7ef Mon Sep 17 00:00:00 2001 From: Nikita Gryzlov Date: Fri, 30 Oct 2020 09:48:24 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=B5=D1=80=D0=B5=D0=BE=D0=BF=D1=80?= =?UTF-8?q?=D0=B5=D0=B4=D0=B5=D0=BB=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=B4=D0=B0?= =?UTF-8?q?=D0=BD=D0=BD=D1=8B=D1=85=20=D0=B4=D0=BB=D1=8F=20=D0=BF=D1=83?= =?UTF-8?q?=D0=BB=D0=B8=D0=BD=D0=B3=D0=B0=20=D1=82=D0=BE=D0=BB=D1=8C=D0=BA?= =?UTF-8?q?=D0=BE=20=D0=B5=D1=81=D0=BB=D0=B8=20=D0=B7=D0=B0=D0=BF=D0=BE?= =?UTF-8?q?=D0=BB=D0=BD=D0=B5=D0=BD=20lfsRepoUri?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ru/pulsar/jenkins/library/steps/EdtTransform.groovy | 4 ++++ 1 file changed, 4 insertions(+) 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) {