Skip to content

Commit 47f650c

Browse files
authored
[TRTLLM-5093][infra] Write env variables to a file in the interactive debug session (NVIDIA#6792)
Signed-off-by: Yiqing Yan <[email protected]>
1 parent 744f0ef commit 47f650c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

jenkins/L0_Test.groovy

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2321,6 +2321,10 @@ def runLLMTestlistOnPlatformImpl(pipeline, platform, testList, config=VANILLA_CO
23212321
chmod 600 ~/.ssh/authorized_keys
23222322
"""
23232323

2324+
// Write env variables to a file
2325+
sh 'env | sort | sed -E \'s/^([^=]+)=(.*)$/export \\1="\\2"/\' > debug_env.sh'
2326+
sh "cat debug_env.sh"
2327+
23242328
// The portConfig file is in the VM
23252329
def portConfigFilePath = "/root/.ssh/ports_config.txt"
23262330

0 commit comments

Comments
 (0)