webhook默认token

This commit is contained in:
2024-09-10 14:49:52 +08:00
parent b37d92c806
commit 32358de363

3
Jenkinsfile vendored
View File

@@ -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,