1
0

Отказ от объекта-логгера

This commit is contained in:
Nikita Gryzlov
2020-04-03 17:50:13 +03:00
parent 93c10f985f
commit 331a2d9b12
2 changed files with 5 additions and 5 deletions

View File

@@ -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()

View File

@@ -1,3 +1,3 @@
def location() {
def call() {
echo "Running on node $env.NODE_NAME"
}