From b37d92c80624bad73e2aad64857f24fef5706c02 Mon Sep 17 00:00:00 2001 From: lihongjie0209 Date: Tue, 10 Sep 2024 14:48:54 +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, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 59fc20e3..09fb5680 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -15,6 +15,7 @@ pipeline{ script: 'date "+%Y-%m-%d-%H-%M-%S"' )}""" + GIT_REPO_NAME = GIT_URL.split('/')[-1].split('.git')[0] } @@ -28,7 +29,7 @@ pipeline{ causeString: 'Triggered on $ref', - token: 'coal', + token: GIT_REPO_NAME, tokenCredentialId: '', printContributedVariables: true,