Skip to content

Commit

Permalink
Remove build link from the premerge-CI workflow
Browse files Browse the repository at this point in the history
We need to remove all the CI job's link from the premerge-CI workflow

Signed-off-by: Tim Liu <[email protected]>
  • Loading branch information
NvTimLiu committed Apr 8, 2024
1 parent d853c25 commit d9fa6ef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions ci/Jenkinsfile.premerge
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/local/env groovy
/*
* Copyright (c) 2022-2023, NVIDIA CORPORATION.
* Copyright (c) 2022-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 @@ -93,7 +93,7 @@ pipeline {

def title = githubHelper.getIssue().title
if (title ==~ /.*\[skip ci\].*/) {
githubHelper.updateCommitStatus("$BUILD_URL", "Skipped", GitHubCommitState.SUCCESS)
githubHelper.updateCommitStatus("", "Skipped", GitHubCommitState.SUCCESS)
currentBuild.result == "SUCCESS"
skipped = true
return
Expand Down Expand Up @@ -122,7 +122,7 @@ pipeline {

steps {
script {
githubHelper.updateCommitStatus("$BUILD_URL", "Running", GitHubCommitState.PENDING)
githubHelper.updateCommitStatus("", "Running", GitHubCommitState.PENDING)
checkout(
changelog: false,
poll: true,
Expand Down Expand Up @@ -229,15 +229,15 @@ git --no-pager diff --name-only HEAD \$BASE -- ${PREMERGE_DOCKERFILE} || true"""
}

if (currentBuild.currentResult == "SUCCESS") {
githubHelper.updateCommitStatus("$BUILD_URL", "Success", GitHubCommitState.SUCCESS)
githubHelper.updateCommitStatus("", "Success", GitHubCommitState.SUCCESS)
} else {
// upload log only in case of build failure
def guardWords = ["gitlab.*?\\.com", "urm.*?\\.com"]
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)

githubHelper.updateCommitStatus("$BUILD_URL", "Fail", GitHubCommitState.FAILURE)
githubHelper.updateCommitStatus("", "Fail", GitHubCommitState.FAILURE)
}

if (TEMP_IMAGE_BUILD) {
Expand Down
2 changes: 1 addition & 1 deletion thirdparty/cudf
Submodule cudf updated 149 files

0 comments on commit d9fa6ef

Please sign in to comment.