From 32358de363dc9187df622fce45ede7fe5e080ea4 Mon Sep 17 00:00:00 2001 From: lihongjie0209 Date: Tue, 10 Sep 2024 14:49:52 +0800 Subject: [PATCH] =?UTF-8?q?webhook=E9=BB=98=E8=AE=A4token?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jenkinsfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 09fb5680..5dd7e383 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -15,7 +15,6 @@ pipeline{ script: 'date "+%Y-%m-%d-%H-%M-%S"' )}""" - GIT_REPO_NAME = GIT_URL.split('/')[-1].split('.git')[0] } @@ -29,7 +28,7 @@ pipeline{ causeString: 'Triggered on $ref', - token: GIT_REPO_NAME, + token: GIT_URL.split('/')[-1].split('.git')[0], tokenCredentialId: '', printContributedVariables: true,