From 2fdce1001f1415ea50c8a616b9b1ff6badf1109e Mon Sep 17 00:00:00 2001 From: S1yGus Date: Sat, 28 Oct 2023 22:58:47 +0300 Subject: [PATCH] add custom test runner label Added the ability to set a custom node label name. --- pipelines/game/unreal_game_test_runner.jenkinsfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pipelines/game/unreal_game_test_runner.jenkinsfile b/pipelines/game/unreal_game_test_runner.jenkinsfile index 97b16f6..0172c7e 100644 --- a/pipelines/game/unreal_game_test_runner.jenkinsfile +++ b/pipelines/game/unreal_game_test_runner.jenkinsfile @@ -8,12 +8,13 @@ def ColorFromBuildResult(result){ pipeline { agent { node { - label "unreal_test_runner_label" + label "$TEST_RUNNER_LABEL" customWorkspace "$BUILD_DIR" } } environment {/* + TEST_RUNNER_LABEL = 'unreal_test_runner_label' BUILD_DIR = 'c:\\JenkinsJobs\\TPS-test-runner-pipeline' GIT_URL_GAME = 'https://github.com/life-exe/UnrealTPSGame' GIT_CREDENTIALS_GAME = 'life-exe-github'