Skip to content

Commit 204ab8f

Browse files
committed
Typo fix
Signed-off-by: Yuanjing Xue <197832395+yuanjingx87@users.noreply.github.com>
1 parent 34f02be commit 204ab8f

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

jenkins/TensorRT_LLM_PLC.groovy

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,7 @@ def pulseScanContainer(llmRepo, branchName) {
226226
def imageTags = [:]
227227
container("cpu") {
228228
def output = sh(
229-
//script: "./jenkins/scripts/get_image_key_to_tag.sh ${params.branchName}",
230-
script: "./jenkins/scripts/get_image_key_to_tag.sh main",
229+
script: "./jenkins/scripts/get_image_key_to_tag.sh ${params.branchName}",
231230
returnStdout: true
232231
).trim()
233232
def containerTagMap = new JsonSlurper().parseText(output)

jenkins/scripts/pulse_in_pipeline_scanning/main.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,19 +83,19 @@ def process_container_result():
8383
if count_container_vulns > 0:
8484
NEW_RISKY_DEPENDENCIES.append(f"{count_container_vulns} new container vulnerability")
8585

86-
last_container_licneses = get_last_scan_results("container_license", args.branch)
86+
last_container_licenses = get_last_scan_results("container_license", args.branch)
8787
new_amd64_container_licenses = submit_container_licenses(
8888
os.path.join(args.report_directory, "release_amd64/licenses.json"),
8989
os.path.join(args.report_directory, "base_amd64/licenses.json"),
9090
"amd64",
91-
last_container_licneses,
91+
last_container_licenses,
9292
**SUBMIT_KWARG,
9393
)
9494
new_arm64_container_licenses = submit_container_licenses(
9595
os.path.join(args.report_directory, "release_arm64/licenses.json"),
9696
os.path.join(args.report_directory, "base_arm64/licenses.json"),
9797
"arm64",
98-
last_container_licneses,
98+
last_container_licenses,
9999
**SUBMIT_KWARG,
100100
)
101101
count_container_licenses = len(new_amd64_container_licenses + new_arm64_container_licenses)

jenkins/scripts/pulse_in_pipeline_scanning/submit_preapproved.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def main():
7474
)
7575
parser.add_argument(
7676
"--csv",
77-
default="/home/yuanjingx/works/scripts/nspect_container_license_delta/pre_approved.csv",
77+
default="./pre_approved.csv",
7878
help="Path to pre_approved.csv (default: %(default)s)",
7979
)
8080
args = parser.parse_args()

jenkins/scripts/pulse_in_pipeline_scanning/utils/slack.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
def post_slack_msg(build_number, branch, risk_detail):
99
SLACK_WEBHOOK_URL = os.environ.get("TRTLLM_PLC_WEBHOOK")
1010
if not SLACK_WEBHOOK_URL:
11-
raise EnvironmentError("Error: Environment variable 'SLACK_WEBHOOK_URL' is not set!")
11+
raise EnvironmentError("Error: Environment variable 'TRTLLM_PLC_WEBHOOK' is not set!")
1212
starttime = datetime.now(timezone.utc).replace(hour=0, minute=0, second=0, microsecond=0)
1313
base = (
1414
"https://gpuwa.nvidia.com/kibana/s/tensorrt/app/dashboards"

0 commit comments

Comments
 (0)