1
0
mirror of https://github.com/firstBitMarksistskaya/jenkins-lib.git synced 2025-03-29 22:55:11 +02:00

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

This commit is contained in:
Nikita Gryzlov 2020-04-03 17:50:13 +03:00
parent 93c10f985f
commit 331a2d9b12
No known key found for this signature in database
GPG Key ID: C1EAE411FEF0BF2F
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"
}