From 331a2d9b12f02bc0c514e92c3c1a94a20ee9254c Mon Sep 17 00:00:00 2001 From: Nikita Gryzlov Date: Fri, 3 Apr 2020 17:50:13 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D1=82=D0=BA=D0=B0=D0=B7=20=D0=BE=D1=82?= =?UTF-8?q?=20=D0=BE=D0=B1=D1=8A=D0=B5=D0=BA=D1=82=D0=B0-=D0=BB=D0=BE?= =?UTF-8?q?=D0=B3=D0=B3=D0=B5=D1=80=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vars/pipeline1C.groovy | 8 ++++---- vars/{log.groovy => printLocation.groovy} | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) rename vars/{log.groovy => printLocation.groovy} (72%) diff --git a/vars/pipeline1C.groovy b/vars/pipeline1C.groovy index 5749aad..aa51c55 100644 --- a/vars/pipeline1C.groovy +++ b/vars/pipeline1C.groovy @@ -32,7 +32,7 @@ void call() { } steps { - log.location() + printLocation() sonarScanner() } @@ -46,7 +46,7 @@ void call() { stages { stage('Подготовка базы') { steps { - log.location() + printLocation() installLocalDependencies() @@ -67,7 +67,7 @@ void call() { parallel { stage('Синтаксический контроль') { steps { - log.location() + printLocation() installLocalDependencies() @@ -82,7 +82,7 @@ void call() { stage('Дымовые тесты') { steps { - log.location() + printLocation() installLocalDependencies() diff --git a/vars/log.groovy b/vars/printLocation.groovy similarity index 72% rename from vars/log.groovy rename to vars/printLocation.groovy index aa38001..00d3344 100644 --- a/vars/log.groovy +++ b/vars/printLocation.groovy @@ -1,3 +1,3 @@ -def location() { +def call() { echo "Running on node $env.NODE_NAME" }