webhook默认token

This commit is contained in:
2024-09-10 14:48:54 +08:00
parent e41c699816
commit b37d92c806

3
Jenkinsfile vendored
View File

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