Skip to content

Commit

Permalink
Add one more guardword for uploaded log (#586)
Browse files Browse the repository at this point in the history
Signed-off-by: Gary Shen <[email protected]>
  • Loading branch information
GaryShen2008 authored May 10, 2024
1 parent 0198d3f commit ac4785c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/Jenkinsfile.premerge
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/local/env groovy
/*
* Copyright (c) 2023, NVIDIA CORPORATION.
* Copyright (c) 2023-2024, NVIDIA CORPORATION.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -201,7 +201,7 @@ pipeline {
githubHelper.updateCommitStatus("", "Success", GitHubCommitState.SUCCESS)
} else {
// upload log only in case of build failure
def guardWords = ["gitlab.*?\\.com", "urm.*?\\.com"]
def guardWords = ["gitlab.*?\\.com", "urm.*?\\.com", "sc-ipp-*"]
guardWords.add("nvidia-smi(?s)(.*?)(?=git)") // hide GPU info
guardWords.add("sc-ipp*") // hide cloud info
githubHelper.uploadLogs(this, env.JOB_NAME, env.BUILD_NUMBER, null, guardWords)
Expand Down

0 comments on commit ac4785c

Please sign in to comment.