1
0

Добавлен учет нового имени мастер-ноды

This commit is contained in:
Nikita Gryzlov
2021-11-24 19:07:27 +03:00
parent bbefb410b8
commit f1b3094ea5

View File

@@ -18,7 +18,7 @@ class FileUtils {
steps.error 'Переменная среды NODE_NAME не задана. Запуск вне node или без agent?'
}
if (nodeName == "master") {
if (nodeName == "master" || nodeName == "built-in") {
return new FilePath(new File(path));
} else {
return new FilePath(Jenkins.getInstanceOrNull().getComputer(nodeName).getChannel(), path);