diff --git a/jenkins/L0_MergeRequest.groovy b/jenkins/L0_MergeRequest.groovy index 87a34c2ebc..73dc41c6ee 100644 --- a/jenkins/L0_MergeRequest.groovy +++ b/jenkins/L0_MergeRequest.groovy @@ -105,6 +105,8 @@ def ONLY_PYTORCH_FILE_CHANGED = "only_pytorch_file_changed" def AUTO_TRIGGER_TAG_LIST = "auto_trigger_tag_list" @Field def DEBUG_MODE = "debug" +@Field +def DETAILED_LOG = "detailed_log" def testFilter = [ (REUSE_STAGE_LIST): trimForStageList(gitlabParamsFromBot.get(REUSE_STAGE_LIST, null)?.tokenize(',')), @@ -121,6 +123,7 @@ def testFilter = [ (ONLY_PYTORCH_FILE_CHANGED): false, (DEBUG_MODE): gitlabParamsFromBot.get(DEBUG_MODE, false), (AUTO_TRIGGER_TAG_LIST): [], + (DETAILED_LOG): gitlabParamsFromBot.get(DETAILED_LOG, false), ] String reuseBuild = gitlabParamsFromBot.get('reuse_build', null) diff --git a/jenkins/L0_Test.groovy b/jenkins/L0_Test.groovy index 6b5ed20783..fd2eb48007 100644 --- a/jenkins/L0_Test.groovy +++ b/jenkins/L0_Test.groovy @@ -252,6 +252,8 @@ def AUTO_TRIGGER_TAG_LIST = "auto_trigger_tag_list" @Field def DEBUG_MODE = "debug" @Field +def DETAILED_LOG = "detailed_log" +@Field def testFilter = [ (REUSE_STAGE_LIST): null, (ENABLE_SKIP_TEST): false, @@ -267,6 +269,7 @@ def testFilter = [ (ONLY_PYTORCH_FILE_CHANGED): false, (DEBUG_MODE): false, (AUTO_TRIGGER_TAG_LIST): [], + (DETAILED_LOG): false, ] @Field @@ -1154,6 +1157,7 @@ def runLLMTestlistOnPlatformImpl(pipeline, platform, testList, config=VANILLA_CO extraInternalEnv, "pytest", "-v", + testFilter[(DETAILED_LOG)] ? "-s" : "", "--timeout-method=thread", "--apply-test-list-correction", "--splitting-algorithm least_duration",